fork download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. int i;
  6. for(i = 0; i < 5 ; i++)
  7. printf("%.1f\n", i/4.0);
  8. return 0;
  9. }
Success #stdin #stdout 0s 1832KB
stdin
Standard input is empty
stdout
0.0
0.2
0.5
0.8
1.0