Just another Perl shrine | |
PerlMonks |
Re: Re: Birthday Chancesby Merlin42 (Friar) |
on Feb 18, 2002 at 14:36 UTC ( [id://146152]=note: print w/replies, xml ) | Need Help?? |
You might want to adjust your parenthization(is that a word?) ;) I think what you really want is: 1 - ( 1/365 * 1/(365 - 1) * 1/(365 - 2) * ... * 1/(365 - (n-1)) ) Kevin
In Section
Cool Uses for Perl
|
|