#include #include using namespace std; int main() { int x; // Ask the person to enter in a number from 1 to 10. // If they make an error, ask them again. do { cout << "Enter in a number from 1 to 10: "; cin >> x; } while(x<1 || x>10); return 0; }