Use a do-while loop, and prompt the user if he wants to do another calculation or if he wants to quit.Originally Posted by eaane74
If you just want it to loop forever just put a while(1) loop around your code.
Use a do-while loop, and prompt the user if he wants to do another calculation or if he wants to quit.Originally Posted by eaane74
If you just want it to loop forever just put a while(1) loop around your code.