I am programming in c++ and making a food ordering app, first it shows the menu, then you pick something, then I want the program to to return to the line of code that shows the menu and you input what else you want.
For example if I had 100 lines of code, perimeters were met at line 80 to go back to line 8, how would I do that? Please answer if you can so I can finish this project! (sorry if my problem did not make sense to you!)
@AquaMarine0421 Thank you for your help, it is fine if you don't know how to do this, I will just find a work around for now because I have tried to figure it out for so long. I might take your advice for learning c later but for now im sticking with c++ because this is the 6th programming language i've learned and I am only 15 so i'll give it some time lol! Again thank you for taking the time to try and help me with my issue and I hope your next/current project goes as smooth as they really can!
How to return to another line of code in c++
I am programming in c++ and making a food ordering app, first it shows the menu, then you pick something, then I want the program to to return to the line of code that shows the menu and you input what else you want.
For example if I had 100 lines of code, perimeters were met at line 80 to go back to line 8, how would I do that? Please answer if you can so I can finish this project! (sorry if my problem did not make sense to you!)