Compound interest by

$;=':'\x0d
a,b,c=gets.split.map{|i|i.to_i}\x0d
a.step(1,-1) {\x0d
p b\x0d
b+=b*c/100\x0d
}

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

download

return top