Compound interest by takemoto

a,b,c=STDIN.gets.split(':').map{|w|w.to_i};puts b;(a-1).times{puts b+=b*c/100}\x0d

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

download

return to the top page