cmake/Tests/JCTest/TestTime.cxx

12 lines
168 B
C++
Raw Normal View History

2009-10-04 10:30:41 +03:00
#include <stdio.h>
#include <stdlib.h>
int main(int ac, char** av)
{
float d = 10.0;
2016-07-09 11:21:54 +02:00
for (int i = 0; i < atoi(av[1]); i++) {
2009-10-04 10:30:41 +03:00
d *= .2;
2016-07-09 11:21:54 +02:00
}
2009-10-04 10:30:41 +03:00
printf("%f", d);
}