diff options
Diffstat (limited to 'Tests/JCTest/TestTime.cxx')
-rw-r--r-- | Tests/JCTest/TestTime.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/JCTest/TestTime.cxx b/Tests/JCTest/TestTime.cxx new file mode 100644 index 0000000..b98e1d3 --- /dev/null +++ b/Tests/JCTest/TestTime.cxx @@ -0,0 +1,11 @@ +#include <stdio.h> +#include <stdlib.h> + +int main(int ac, char** av) +{ + float d = 10.0; + for (int i = 0; i < atoi(av[1]); i++) { + d *= .2; + } + printf("%f", d); +} |