subject

Write a program that will generate 12,000 random birthdays (integer numbers) between 1 and 365 and count how many people have that same birthday. Output a listing of the days that have the most birthdays and the days that have
the fewest birthdays. You do not need to convert a number like 32 to an actual date (February 1st).
Your code will have two classes:
the Main class will hold the main() method.
From this class, you will create an object of the Arena class.
This object will call responsible methods in the Arena class to print the MAX and MIN birthday dates.
See the skeleton below.
• the Arena class will have a random number generation method.
This class's constructor will take #of people in the area as an input.
. With this number, you will create an array and a method will put random numbers between 1 and 365 in this
array.
Two other methods in this class will determine the days with MAX and MIN birthdays.
Make sure to print ALL maximum and minimum birthdate days.
• The two classes can be part of the same file. A naive example structure is shown below.
public class Main
public static void main(String args[])
Arena a = new Arena();
a. printArena();
}
1
class Arenal
void printArenal
System. out. println("I am arena");
}
}

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 09:30
After you present a proposal, the committee starts asking you questions, some beyond the strict focus of your proposal. they ask questions about implications in other fields and knowledge about other fields. you are asked to redo your proposal. what is most likely missing? breadth of material depth of material clarity of material details of material
Answers: 1
question
Computers and Technology, 23.06.2019 13:00
Donnie does not have powerpoint. which method would be best for elana to save and share her presentation as is? a pdf a doc an rtf a ppt
Answers: 3
question
Computers and Technology, 23.06.2019 16:30
How to do this programming flowchart?
Answers: 3
question
Computers and Technology, 24.06.2019 13:00
If you add the following to the query grid in an access query, what is it called? salestaxamt: [salestaxrate]*[totalsale] formula calculated field total calculation
Answers: 2
You know the right answer?
Write a program that will generate 12,000 random birthdays (integer numbers) between 1 and 365 and c...
Questions
question
History, 01.10.2021 19:30
question
Computers and Technology, 01.10.2021 19:30