Making a program loop.

Poethetortoise (8)
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
vlad from moscow (3112)
Wish you good luck.:)
Poethetortoise (8)
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)
vlad from moscow (3112)
You should use a loop. For example

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