Guest User

Untitled

a guest
Oct 22nd, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main(int argc, char** argv) {
  5.  
  6. float a = (float) atoi(argv[1]);
  7.  
  8. printf("%f\n", a/10.0);
  9.  
  10. a = a/100000;
  11. float b = 0.0;
  12. int i = 0;
  13. for (i = 0; i < 1000000; i++) {
  14. b += a*100000;
  15. }
  16. printf("%f\n", b);
  17.  
  18. return 0;
  19. }
Add Comment
Please, Sign In to add comment