Question: Conditionals Exercise 1 Problem Use the variable x as you write this program. x will represent a positive integer. Write a program that determines if
Conditionals Exercise
Problem
Use the variable as you write this program. will represent a positive integer. Write a program that determines if is between and or between and If yes, print the message: between and or and where the blank would be the value of The program should do nothing if the value of does not fit into either range.
Expected Output
If is then the output would be: is between and or
If is then the output would be: is between and or and
If is then the output would be blank your program does not print anythingConditionals Exercise
Problem
Use the variable as you write this program. will represent a positive integer. Write a program that determines if is between and or between and If yes, print the message: between and or and where the blank would be the value of The program should do nothing if the value of does not fit into either range.
Expected Output
If is then the output would be: is between and or
If is then the output would be: is between and or and
If is then the output would be blank your program does not print anything
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
