fork(1) download
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4. int main()
  5. {
  6. double num;
  7.  
  8. while(EOF != scanf("%lf", &num))
  9. {
  10. printf("%lf\n", num);
  11. }
  12.  
  13. return 0;
  14. }
Success #stdin #stdout 0s 2012KB
stdin
10.0
1.2
15.2
12.6
stdout
10.000000
1.200000
15.200000
12.600000