while_break_continue9 135 B

1234567891011121314
  1. x = 0;
  2. while(x < 10)
  3. {
  4. x++;
  5. if(x == 2)
  6. {
  7. continue;
  8. }
  9. if(x == 5)
  10. {
  11. break;
  12. }
  13. print(x);
  14. }