Hi everyone! I`m new here in daniweb.
Our Prof. want us to make a game w/ a menu.
I already made the game but my main menu is the problem.
how to make a menu that after the game it will ask.
Do you want to try again >>> then will go back to menu?
thanks
sucram
0
Newbie Poster
Recommended Answers
Jump to PostSure.one way to do it is, put the whole program in an infinite loop and ask the user each time whether to continue or not. Check the user's answer
if yes loop back
else end the loop and exit.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.