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, 21.06.2019 20:20
Sometimes writers elaborate on the truth when recalling past events so they can enhance their narrative essay with more interesting descriptions. do you feel that published writers should or should not embellish real life events just to make their stories more interesting?
Answers: 2
question
Computers and Technology, 22.06.2019 17:00
1. so if i wanted to build a linux server for web services(apache) with 1cpu and 2 gb of memory.-operating at 75% of memory capacity2. a windows server with 2 cpu/ 4gb memory- operating at 85% of memory capacity3. a storage server with 1 cpu/ 2gb memory- operating at 85% of memory capacityhow much memory do i have to add for each server.so that the utilization rate for both cpu and memory is at a baseline of 60%."the details for the cpu like its processor or the memory's speed isnt to be concerned" yeah i kept asking my teacher if he's even sure about the but the whole class seems to be confused and the project is due in 3 days..this is a virtualization project where i have to virtualize a typical server into an exsi hypervisor.
Answers: 2
question
Computers and Technology, 23.06.2019 23:30
What can you prevent issues related to downloading content form the internet
Answers: 1
question
Computers and Technology, 24.06.2019 19:30
Dtp allows you to manipulate text boxes in the following ways. more than 1 answer. a.move them b.rotate them c.resize them d.all of the above e.none of the above
Answers: 1
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
French, 01.07.2019 15:20
question
Mathematics, 01.07.2019 15:20
question
French, 01.07.2019 15:20
question
Mathematics, 01.07.2019 15:20
question
French, 01.07.2019 15:20
Questions on the website: 13722367