Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (11 sloc) 0.206 kb
#include <stdio.h>
int
main(int argc, char *argv[]) {
int i;
double base = 100, rate = 1.01;
for(i=0; i<5000; i++){
base *= rate;
}
printf("Base has increased by %f\n", base - 100);
return 0;
}
Jump to Line
Something went wrong with that request. Please try again.