Question: A program that asks the user to enter a number between 1 and 2 0 ( inclusive ) . It then prints out whether the

A program that asks the user to enter a number between 1 and 20(inclusive). It then prints out whether the number is between 1 and 10(inclusive) or between 11 and 20(inclusive) or if it is not in the 1-20 range. The following would be three sample runs of the program. Enter an integer in 1-20 range: 5 It is between 1 and 10(inclusive). Enter an integer in 1-20 range: 15 It is between 11 and 20(inclusive). Enter an integer in 1-20 range: 50 It is not in the specified range.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!