TestTime.cxx 168 B

1234567891011
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main(int ac, char** av)
  4. {
  5. float d = 10.0;
  6. for (int i = 0; i < atoi(av[1]); i++) {
  7. d *= .2;
  8. }
  9. printf("%f", d);
  10. }