I'm having a problem getting my program to continue on after the user inputs their dog's weight. The console just closes instead of doing the calculations. It worked perfectly before I added the error messages. This is giving me such a headache.
Welcome to Tina's dog age calculator!
Please enter your dogs actual age (1-16):
1
Please enter your dogs weight:
2
Your dogs age is 15
Process finished with exit code 0
I have the problem narrowed down to one specific thing. For some reason if I take out the actualage>16 part, it works fine. But I need the error message to include that. The program is supposed to give an error message if the age entered is less than 1 or more than 16.