You're starting min at 0, so nothing will be less than it. You need to start it at the maximum (100).

You need to add "continue;" after the out of range check to skip the rest of the while loop:
Code:
if ((x < 0) || (x > 100))
{
    cin.ignore(99,'\n');
    cout << "Out of range ; ignored." << endl;
    continue;
}
The line x = min needs to be min = x.