#include using namespace std; int main() { int number = 0 ; do { cout << "Enter a value in the range 1-100: " ; cin >> number; } while (number < 1 || number > 100) ; cout << "The number entered was:" << number << endl ; return 0 ; }