Making a program loop.

I would like make my program so if the user enters a wrong value, the program will loop back to were it prompted you to enter the value.

Thanks
Wish you good luck.:)
Oops! I forgot to mention I was asking for help! XD

So anyways...

How would I do that? Right now I they to keep pressing reset or re open the programwhen someone messes up.

(Thanks for not calling me a complete noob :P)
You should use a loop. For example

1
2
3
4
do
{
// here you code
} while ( some_condition );
Topic archived. No new replies allowed.