fork download
  1. #include <stdio.h>
  2. int main ()
  3. {
  4.  
  5. int number = 0; /* simple integer value */
  6.  
  7. /* do loop execution */
  8. do
  9. {
  10. if( number <= 15)
  11. {
  12. /* skip the iteration */
  13. number += 3;
  14. continue; /* go directly to the end of loop */
  15. }
  16.  
  17. printf ("value of number: %i\n", number);
  18. number += 3;
  19.  
  20. } while( number <= 21 ); /* end of loop */
  21.  
  22. return 0;
  23. }
  24.  
Success #stdin #stdout 0s 5456KB
stdin
Standard input is empty
stdout
value of number: 18
value of number: 21