Description: birthday problem, in a set of n randomly chosen people, some pair of them will have the same birthday. By the pigeonhole principle, the probability reaches 100 when the number of people reaches 366. However, 99 probability is reached with just 57 people, and 50 probability with 23 people.
This java program simulates birthday problem.
To Search:
File list (Check if you may need any files):
BirthdayProblem\BirthdayTest.class
...............\BirthdayTest.java
...............\執行畫面.JPG
BirthdayProblem