#include #include int main() { int k=0; for (;;) { cout << k << endl; k++; if (k > 10) exit(EXIT_SUCCESS); } return 0; }