Question: 6. (5 points) Using Exceptions, write a program that requests an integer from 1 through 100. Expected Sample output shown below: Enter an integer from

6. (5 points) Using Exceptions, write a program that requests an integer from 1 through 100. Expected Sample output shown below: Enter an integer from 1 to 100:5.5 You did not enter an integer Enter an integer from 1 to 100: five You did not enter an integer Enter an integer from 1 to 100: 555 Your number was not between 1 and 100 Enter an integer from 1 to 100: 5 Your number is 5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
