Compound interest by nn

{a,b,c->for(c=c/100;a--;b+=(int)(b*c))println b}"$System.in".split(':')*.toLong()

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

download

return to the top page