Not getting output | Sololearn: Learn to code for FREE!

0

Not getting output

C programming https://code.sololearn.com/c1VAprR507i6/?ref=app

9/22/2020 10:32:07 AM

Kiran A

2 Answers

New Answer

+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

0

You need space between case and the number in switch.