fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int num=0;
  5. do{
  6. printf ("\n %d", num++);
  7.  
  8. }while(num<=10);
  9. }
Success #stdin #stdout 0s 5356KB
stdin
90
stdout
 0
 1
 2
 3
 4
 5
 6
 7
 8
 9
 10