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