Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please complete in java, Eclipse preferred. Follow directions carefully - Birthday Program Goal: Determine the probability of any 2 people sharing a birthday in the

image text in transcribed

Please complete in java, Eclipse preferred. Follow directions carefully

- 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions