Compound interest by uru

var a,b,c:word;s:char;begin read(a,s,b,s,c);repeat dec(a);writeln(b);b:=b+b*c div 100until a=0end.

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

download

return to the top page