The objectives of this assignment are to reinforce and help teach:
For this lab you will develop a program that will prompt the user for two different integer values and then display all the numbers between the first entered integer and the second entered integer, inclusively.
For example, if the user first enters 5 and then enters 12, the program will output the numbers: 5, 6, 7, ..., 11, 12
Take care for whether or not the first number entered by the user is less than or greater than the second number. For example, if the first number entered is 15 and the second numbered entered is 7, then the program should output the numbers: 15, 14, 13, ..., 8, 7. The order is important.
Your output should look just like the output format below, with each returned integer from your loop on its own line.
Following are the instructions and you should follow them carefully:
Following is the desired output format:
Please enter the first integer: 15
Please enter the second integer: 7
Output:
15
14
13
12
11
10
9
8
7
When you submit your lab through AutoLab it will automatically be graded through autograder and any grade less than 80% means your program's output is incorrect and should be updated. Please refer to the following to understand AutoLab's error reporting.
This lab must be AutoLab submitted to the instructor by 11:59pm on the Monday a week after it was assigned. Check AutoLab for the specific due date.