Question: Done in java, eclipse preferred. Show the program with an output please. DO NOT WRITE ENTIRE PROGRAM IN THE MAIN METHOD - Birthday Program Goal:

 Done in java, eclipse preferred. Show the program with an output

Done in java, eclipse preferred. Show the program with an output please.

DO NOT WRITE ENTIRE PROGRAM IN THE MAIN METHOD

- Birthday Program Goal: Determine the probability of any 2 people sharing a birthday in the class. - There are 26 people in the class - Program Requirements - Make program flexible. Have user input for number of random people to create. - Make a Person class, with int birthday (Why does this make the problem easier?) - You can use MM/DD - You don't have to consider leap years - Make sure you can configure the number of runs without touching your loop - Your main method should be able to control the run, determine class size and number of runs - Your main method should be in a separate class, with only object construction and run(x,y,x, etc ) DO NOT WRITE ENTIRE PROGRAM IN MAIN METHOD

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!