fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main () {
  4. int a = 10;
  5. do {
  6. if( a < 15) {
  7. a++;
  8. }
  9. printf("value of a: %d\n", a);
  10. a++;
  11. } while( a < 20 );
  12. return 0;
  13. }
Success #stdin #stdout 0s 2160KB
stdin
Standard input is empty
stdout
value of a: 11
value of a: 13
value of a: 15
value of a: 16
value of a: 17
value of a: 18
value of a: 19