Quote:
Originally posted by pico
ok.
the program asks you to choose:
1.add
2.subtract
3.divide
4. multiply
you then asked for two numbers, operation is carried out and result returned.
after this, i want the program to return to the beggining and ask the user to choose:
1.add
2.subtract
3.divide
4. multiply
as if the program got run again.
but as with all programs, i get "press any key to continue" then the app exits.
do you understand?
thanks
really for the console when the message "press any key to continue" after executing the program that means that there is no looping ... i.e the program ends