//Declare a number the user will enter
int number1;
int number2;
int even;
int odd;
//Tell user to enter a number
cout<<"\n\tEnter in two numbers: ";
cin>>number1;
cout<< " " ;
cin>>number2;
//whle loop
if (number2<number1)
{
cout<<"number 2 will now be ";
number2=number1;
number1=number2;
cout<<number2;
}
//Declare a counter to calculate even number
int counter;
counter=0;
cout<<"even: ";
while (number1<number2)
{
if(number1%2==0)
{
even=number1+2;
cout <<even << " " ;
}
number1++;
}
//Display on the screen that even numbers are calculated
cout<<"Even numbers are calculated";
cout<<"DONE";
_getch();
return 0;
}