What is the probability that in a classroom of x people, at least 2 will be born on the same day of the year (ignore leap year)? Use a Monte Carlo Simulation and a frequency table to write a program that calculates this probability, where the number of people (x) in the simulated class is given by the user. The probability for a class of size 23, should be right around 50%.
NO language of "break" or "true" please!
Please use the outline given below for the code:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here