Question: Perform the following within a comprehensive program according to the following requirements, based on the attached example to understand the concept: a ) Create a
Perform the following within a comprehensive program according to the following
requirements, based on the attached example to understand the concept:
a Create a program that accepts two numbers from users.
b Create a loop to print a range of numbers starting from the first number to the second number entered
by the user.
c The start and end of the range should not be printed. For example, if the first number is and the
second number is you should print
d If the first number is greater than the second number, reverse the numbers eg If the person enters the
first number as and the second number as reverse the numbers and make the range start from to
e Do not print even numbers within the range.
More details about input and output as below
Test case
Number One:
Number Two:
output:
Test case
Number one:
Number Two:
Output:
Test Case
Number One:
Number Two:
output:
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
