#include
#include
int main()
{
int gtten=0; //variable to hold user's number
while(gtten<=10) //continuous loop in case they didn't enter a num greater than 10
{
std::cout<<"Enter a number greater than 10:";
std::cin>>gtten; //of course, storing entered num to gtten
if(gtten>10) //checking if it is greater than 10
std::cout<<"That is correct\n";
if(gtten<=10) //checking if it is NOT greater than 10
std::cout<<"Enter an Integer Greater than 10\n\n";
} //Now if it is greater than 10 this will not replay the while loop
//Otherwise it will ask for another number
system("PAUSE");
return 0; //Quitting if and only if, gtten is greater than 10
}