Guys a little help please. I already finished my program, I just need enter codes in order for the user to simulate the program again using loop. How do you do that?

A user repeatable loop usually places some code around the main program block with a variable condition. For example a while loop with a simple Boolean variable. Set the variable to true initially then after running through the loop once ask if the program is to be run again. If not, alter the boolean to false!

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.