Compound interest by murky-satyr

n,m,r=io.read():match'(.+):(.+):(.+)'for i=1,n do
print(m)t=m*r/100
m=m+t-t%1
end

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

download

return to the top page