Where is the mistake please | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
25th Dec 2019, 6:38 PM
Kuchiki
Kuchiki - avatar
2 Answers
+ 2
I'm not c++ specialist. But after the switch case statements follows a goto loop. And from there the switch case statements. Maybe it's only on playground the issue that the program don't stops for new input. But now it's a infinity loop.
25th Dec 2019, 6:54 PM
Coding Cat
Coding Cat - avatar
+ 2
Yes. It's looping infinitely. Use a conditional goto. Or use while, dowhile loops, with exit condition.
25th Dec 2019, 8:01 PM
Jayakrishna 🇮🇳