The same birthday by teebee

for(n,p:=1,99,writeln("n=",n+1,", p=",(1-p=p-p*n/365)asString(0,8)))

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

download

return to the top page