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