fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6.  
  7. int i;
  8. for( i =0; i <=10; i++)
  9. { if (i==6)
  10. {
  11. cout << "testing here before" <<endl;
  12. continue;
  13. cout << "testing here after" <<endl;
  14.  
  15. }
  16. else
  17. if(i == 8)
  18. break;
  19. cout << i << endl;
  20. }
  21. cout << i << "found";
  22. return 0;
  23. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
0
1
2
3
4
5
testing here before
7
8found