virtual-labs-archive / computer-programming-responsive-iiith

This repository contains the responsive Computer Programming Lab IIITH
https://cse02-iiith.vlabs.ac.in
Other
1 stars 325 forks source link

computer-programming-lab_advanced-control-flow_simulation_height-of -pyramid #290

Open kneeraj2000 opened 5 years ago

kneeraj2000 commented 5 years ago

In computer programming lab, if we go into simulation of advanced control flow, in height of pyramids, we can get a pyramid of height we required. After execution of one test case it allows us to give another test case usually. But if we give 0 as input test case after executing the screen is freezing at that test case which needs to be corrected. The image of screen is given below Screenshot (2)

doltonfernandes commented 5 years ago

Fixed 08b2d4404c36cb5daec10cb22b52d8cc5aa7b1ac Added condition when input is 0.

DevikaBoddu commented 5 years ago

Valid fix: @doltonfernandes