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