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 324 forks source link

Basic control flow_Simulation #372

Open KanishAnand opened 5 years ago

KanishAnand commented 5 years ago

Defect Description In switch part of simulation if I input 0 in it then the code gets stuck at 'if' statement. Steps to reproduce the issue Go to experiment of Basic control flow and in that go to simulation section , then go switch statement section and in that input 0 value and run the code. You will find that loop gets stuck at 'if' statement. Expected Result It should go in else statement and output INVALID INPUT. Actual Result No output , it gets stuck at 'if' statement. Screenshot from 2019-03-11 11-56-45

Akshat-Goyal commented 5 years ago

fixed commit id: aa668d9ed2afc9d1e6500df607fa8a068f3fca74

DevikaBoddu commented 5 years ago

Valid fix: @Akshat-Goyal