+ 2

Help me by solving the issue.

A error is coming https://code.sololearn.com/c201nrCDCal7/?ref=app

7th Sep 2019, 12:56 AM
Prakhar
5 odpowiedzi
+ 5
case 2: is not a label that you can use with goto.
7th Sep 2019, 1:09 AM
Sonic
Sonic - avatar
+ 4
Comment out lines 13 and 14 to get your desired result. https://code.sololearn.com/cCXrP8PhYgbd/?ref=app
7th Sep 2019, 1:04 AM
Sonic
Sonic - avatar
+ 3
I want to ask in my code why error is coming
7th Sep 2019, 1:08 AM
Prakhar
+ 3
Oh... Thanks a lot
7th Sep 2019, 1:11 AM
Prakhar
+ 1
Prakhar I suggest you not to use the goto statement because it's not considered as a good programming practise.
8th Sep 2019, 7:05 PM
Manoj
Manoj - avatar