would one of you guru types take a look at this at tell me why it either falls through without printing "you must enter a number" or goes into an infinite loop when an alapha caracter is entered.
cout << "\nEnter the upper range: ";
cin >> high_limit;
if(high_limit < 0 )
{
cout << "Number must be positive and bigger than 1!!";
cin >> high_limit;
}
if(isalpha(high_limit)==0)
{
cout << "You must enter a number!\n";
break;
}_________________________________________________ ___