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