0
Someone can make me code program looping to exit program?
program must with type data char. if we type "y" the program will go back to menu. if we type "n" the program will be exit
2 Respuestas
+ 1
Do
{.............}
While (choice ! = 'N');
This will keep repeating the code between the brackets until you give choice an n value as a char. Remember that you'll need declare choice as a char type. And if you want to be fancy you can use toupper or tolower make sure the program gets what it needs
0
I am about to post something that does that