Jun-18-2024, 07:45 PM
(Jun-18-2024, 07:30 PM)Jeff_900 Wrote: It is difficult to give a proper suggestion if I can't see the rest of the code. I'm assuming your code runs in a loop? If so, I think my suggestion would still work, since it will repeat the input section again.
If not, it would be a matter of overall design of your program. There would different ways to ask for input again after an exception.
Yes, it runs on a loop unless you choose quite. The issue is, the assignment says to have it ask the questions again and not bring up the menu choices. That is where I am having an issue. The second one I posted...if you put a zero it bring me back to the main menu, but I want it to bring me to the num1 and num2 and not leave the div until the problem is solved.