var p,n:real=1;begin repeat p:=p-n*p/365;n:=n+1;writeln('n=',n:0:0,', p=',1-p:0:8)until n>99end.
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page