Question: Conditionals Exercise 1 Problem You will ask the user for a positive integer. The prompt portion for your input statement should be exactly the following:
Conditionals Exercise
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 and or between and not including the endpoints If yes, print the message: is between and or and 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 then the output would be: is between and or and
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
