Compound interest by koic

c,d,p=gets.to_a":";c.to_i.times{p d=d.to_i;d+=d*p.to_i*0.01}

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

download

return top