Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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 METHODStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started