package main import."fmt"func main(){p:=float64(1);n:=p;for n<100{p*=1-n/365;n++;Printf(`n=%.0f, p=%.8f `,n,1-p)}}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page