#include <iostream> using namespace std; int main() { cout << "Hello world!" << endl; int iteration(0); while (1) { iteration++; cout << "Hello world! x " << iteration << endl; if (iteration > 1000) break; } return 0; }