#include #include using namespace std; int main() { int i {70}; {cout << "Please enter a positive whole number less than 1000 and press ENTER.\n"; cin >> i; } if (i >= 1000) { cerr <<"Sorry, this number is too high.\n"; return EXIT_FAILURE; } if (i < 1) { cerr <<"Sorry, this number is too low.\n"; return EXIT_FAILURE; } if (!cin) { cerr <<"Invalid input. It shouldn't be that hard...\n"; return EXIT_FAILURE; } while (0 < i && i < 1000) { cout << i << "\n"; ++i ; if (i > 1100) { cerr << "number go brrrrrrrrr \n"; return EXIT_FAILURE; } } return EXIT_SUCCESS; }