Hey:)
So I initially thought I had fixed this problem but it turns out I didn't.
Below is two programs I wrote Agetesting (A program to
test the users age) and Sizetest (a program to test the users size)
The program 'size test' mainly uses strings and 'age testing' uses mainly int's. I think the int's may be where my problem is. I really have no clue as I am a complete beginner and this problem is really hindering my learning.
What happens in the NOT working program (age testing) is when the Try/Catch is triggered the program constantly repeats the phrase "Only enter 1 - 100 only" over and over
In comparison to the working program (Size test) when the Try/Catch is triggered in this program the program simply says one time "Please only enter Small, Big or Bigger" then asks the user the main question again.
Below are both programs, please if anyone can help I'd be grateful! Thanks.
-NOT WORKING PROGRAM AGE TEST -
- WORKING PROGRAM SIZE TEST -