fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int i = 0, x = 0;
  7. while (x < 30) {
  8. x++;
  9. if (13 < (i=i+1)) break;
  10. cout << i << endl;
  11. }
  12. return 0;
  13. }
Success #stdin #stdout 0s 4188KB
stdin
Standard input is empty
stdout
1
2
3
4
5
6
7
8
9
10
11
12
13