Not getting output | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
22nd Sep 2020, 10:32 AM
Kiran A
Kiran A - avatar
2 Answers
+ 4
In while loop you have to give exact condition . You write 1 means all times condition will be true and loop will run infinite times where u write cases if( count==0||n==0) here you can use range in c language it will look better
22nd Sep 2020, 11:27 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
You need space between case and the number in switch.
22nd Sep 2020, 10:49 AM
你知道規則,我也是 - avatar