#include #include using namespace std; int main(int argc, char **argv) { int num; while ( true ) { cout << "Type a number: "; cin >> num; cout << "You typed: " << num << endl; } return EXIT_SUCCESS; }