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