-the user will input numbers, if he/she inputs a (-) number that will be the time that the program will stop.
-the operations between the numbers should be + and - (alternate).
-the user will input numbers, if he/she inputs a (-) number that will be the time that the program will stop.
-the operations between the numbers should be + and - (alternate).
how will i do the codes in C++?
*urgent:D
Hi!
Is this your homework? If so do it yourself.
Any way you may use a while loop and check condition for -ve number. The loop breaks when -ve no. is entered.
If you post your code it will be better for us to help you.