Compound interest by pooq

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

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

download

return to the top page