p=1.0;99.times{puts"n=%%d, p=%.8f"%(1-p-=p/$$*$.)%$.+=1}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page