Question: 2 . ( 3 6 points ) It is said that when there are 2 0 people in a room, the possibility that 2 of
points It is said that when there are people in a room, the possibility that of them have the same
birthday we consider months and days only, not the years is pretty high, almost around at least
bigger than
a points From the theory of probability, we know that such probability consider ordinary year with
days is equal to P Here P is the number of permutations of choosing from
or where Is factorial or
Prove this statement is correct or invalidate this by computing such a number using C #programming
hint: compute which is a for loop of
iterations, for i to
b points Generalize this question to compute the probability of n people with of them having the same
birth date. Print out in tabular format, such probability for n up to n listing in a row if possible.
For verification purpose, the output should look like below:
Printing out probabilities of identical birthdays for to people
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
