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:
if ((x < 0) || (x > 100))
cout << "Out of range ; ignored." << endl;
The line x = min needs to be min = x.