Question: Problem You will ask the user for a positive integer. The prompt portion for your input statement should be exactly the following: Enter a positive

Problem
You will ask the user for a positive integer. The prompt portion for your input statement should be exactly the following:
"Enter a positive integer: "
with the colon and one space at the end before the closing quote.
Write a program that determines if the positive integer they entered is between 0 and 25 or between 75 and 100(not including the endpoints). If yes, print the message:_ is between 0 and 25 or 75 and 100, where the blank would be the value of the positive integer they input. The program should do nothing if the value of what they input does not fit into either range.
Expected Output
If the number is 8, then the output would be: 8 is between 0 and 25 or 75 and 100.
If the number is 80, then the output would be: 80 is between 0 and 25 or 75 and 100.
If the number is 50, then the output would be blank (your program does not print anything).
If the number is 25, then the output would also be blank.
Type Casting for output
Once you have tested your program using the Try It button with several different values and they all seem to work correctly, you can submit your program to the autograder using the Check It button.

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!