Ajaman
04-19-2012, 05:58 AM
Hi i am trying to write a code but have no idear how to do it..
can some one please help me with it
i am trying to give a random group of 23 people birthday dates and how likely is it that two people have the same birthday i need to write a program that will create the person array or ranging 1 to 23 and assign to each of the 23 people a random date for there "birthday" and expanding it by repeating it 100 times counting how many groups of 23 persons have at least one watching birthday the answer needs to be around 50%
thanks
i am really stuck and have no idear what to do
this is what i have so far
Private Sub Document_Open()
Randomise
End Sub
yea i basically no nothing
if some one can help me i would be happy to throw a few dollars there way
can some one please help me with it
i am trying to give a random group of 23 people birthday dates and how likely is it that two people have the same birthday i need to write a program that will create the person array or ranging 1 to 23 and assign to each of the 23 people a random date for there "birthday" and expanding it by repeating it 100 times counting how many groups of 23 persons have at least one watching birthday the answer needs to be around 50%
thanks
i am really stuck and have no idear what to do
this is what i have so far
Private Sub Document_Open()
Randomise
End Sub
yea i basically no nothing
if some one can help me i would be happy to throw a few dollars there way