Hello members, i need your help on this:

The birthday paradox says that the probability that two people in a room will have the same birthday (month and date only) is more than half as long as n, the number of people in the room, is more than 23. This property is not really a paradox, but many people find it surprising. Design and develop a C++ program that can test this paradox by a series of experiments on randomly generated birthdays, which test this paradox for n= 5, 10, 15, 20, … , 100. You should run at the number of experiments for each value of n and it should output, for each n, the number of experiments for that n, such that two people in that test will have the same birthday.

Requirement: You need to define a C++ class to include the needed variables and implement methods to conduct the experiments.

deceptikon 1,790