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