#include // input/outoput int main() { int min=0, max=0, i=0; //define the number variables cout << "Type a number to start from..." << endl; // tell the user to input a starting number cin >> min; // collect the starting number cout << "Pick a number to end with..." << endl; // tell the user to input a finishing number cin >> max; // collect the ending number for(i=0; min >= max; i++) // sets i as 0 to start off with, then it says if min is greater than or equal to, end this function, i++ adds 1 to i after each revolution through the code { cout << i << endl; // displays the current number } return system("pause") // pauses the application and waits for user input beofre ending }