Hi,
I've started learning C++ few hours ago, so this question might seem a bit stupid. Anyhow, I'm trying to write a program that will take two numbers (n, and n1) from the user, and then will print all the numbers between them. For instance, if n = 1 and n1 = 5, then the program will print: 1 2 3 4 5. Since it doesn't work, I must have done something wrong. Could you please try to help me? Here is the code:

Code:
#include "stdafx.h"
#include <iostream>

int _tmain(int argc, _TCHAR* argv[])
{
using namespace std;
int n, n2, i = 1;
cout << "Enter a number and press ENTER: "<< endl;
cin >> n;
cout << " Enter another a number" << endl;
cin >> n2;
while (n <= n2){
	
	cout << i << " " << endl;  
	i = n + 1;