Compound interest by tarui

main(){int a,b,c;scanf("%d:%d:%d",&a,&b,&c);while(a--){printf("%d\n",b);b+=b*c/100;}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page