void feetToM()
{
int start, end;
do
{
cout << "Please enter a starting and ending number of feet to convert:" << endl;
cin >> start >> end;
}
while (start<0 || start<end);
//other stuff
}
When I run the program it keeps outputting the above cout statement, even if I enter valid input. What's the problem?