Compound interest by k-chiba

a,b,c=gets.split ":";p r=b.to_i;(a.to_i-1).times{p r+=r*c.to_i/100}

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

download

return to the top page