fork download
  1. #include<stdio.h>
  2. int main(){
  3. int i=1;
  4. do{
  5. printf("the value is %d\n",i);
  6. i++;
  7. }
  8. while(i<=10);
  9. return 0;
  10. }
Success #stdin #stdout 0s 5284KB
stdin
Standard input is empty
stdout
the value is 1
the value is 2
the value is 3
the value is 4
the value is 5
the value is 6
the value is 7
the value is 8
the value is 9
the value is 10