The request is "Write a C++ program that allows a user to enter a start value and end value (where the start value is smaller than the end value) and print all the numbers from start to end using a for loop. If the end value is smaller than or equal to the start value the user must re-enter the end value until the appropriate value is entered."
But I can't seem to understand how contrast the two values like for(num1;num2;num1 < num2) sort of? Really confused here
Do you know how to ask the user to enter two integer values? Write the code for that.
Do you know how to check two values to determine if the first value is smaller than the second? Or the second is larger than the first? Add that code to the above.
If the end value is smaller than or equal to the start value the user must re-enter the end value until the appropriate value is entered.