Where is the mistake please
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.
Yes. It's looping infinitely. Use a conditional goto. Or use while, dowhile loops, with exit condition.