// Program to print values found in an integer input stream // until end-of-file (i.e., until no more numbers to be read). #include using namespace std; int main() { int number; cin >> number; while (cin) { cout << number << endl; cin >> number; } cout << "No more input data. Stopping." << endl; return 0; }