so if im running a option saying press one for something and 2 for another option how to i get my program to go back to the original input area so that they can either choose the same option or a differnent one:
printf("Press 1 for this press two for that:"); scanf("%d", &option);
(loop back to the top......
pressing 1 will list rules and after it lists the rules i want it to go back and ask the user for input again, how do i do that?
so what to i write at the end of that to make it loop to the first printf statement?????????
Funny, really, how it works out. There just happens to be a tutorial on C loops here:
Cprogramming.com Tutorial: Loops
Note the titles of the other tutorials; that way you'll know where to go next time you have a question like "how do I implement a loop?"
I'll leave it at that.
awesome thank you so much, but next time try not to be so sarcastic when someone is asking for help. But your answer was EXTREMELY helpful so thank you