Encerrado

Hire a Programmer

The CenturyLink Center can seat 17,560 people for an event. If the arena was full and you were to poll everyone for which day of

the year (1-365) they were born, you should be able to determine which days had the most birthdays and which days had the fewest

birthdays.

Write a program that will generate 17,560 random birthdays (numbers) between 1 and 365 and count how many people have that

same birthday. Output a display of each day of the year (1 – 365) followed by the number of people with that birthday, and then 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).

Goals

 Use your knowledge of arrays and random number generation to solve a problem.

 Use looping structures to determine the largest and smallest values in an array and then find each occurrence of that

value.

Class and File Naming

 Name your class lastname_Birthdays and source file [url removed, login to view], using your last name. For

example a student named Don Trump would create a class trump_Birthdays.

Points to Think About

 A solution with just a main() method would likely contain five looping structures. The first would fill an array of counters

based on random numbers between 1 and 365. The next two would first identify the largest value (count) stored in the

array and then go back through the array and identify the positions (days) that contained that value, outputting the

positions. The last two would first identify the smallest value (count) stored in the array and then go back through the

array and identify the positions (days) that contained that value, outputting the positions.

Grading Notes

 Your program will not be graded without complete header and Honor Pledge documentation.

 You may not use any material from beyond chapter 6 of the Deitel book.

 Name your class according to the “Class and File Name” section above.

 You don’t need to use methods for this program, though if you’d like to practice you certainly can. It’s just as easy to write

the code for this particular assignment in a slightly larger main method as it is to pass an array around to various

Habilidades: Programming

Ver mais: freelance asp programmer hire, flipbook programmer hire design, phone programmer hire, cellular application programmer hire, facebook app programmer hire, actionscript programmer hire, mql programmer hire, software programmer hire seattle, cocoa programmer hire, programmer hire bidding, mql4 programmer hire price, programmer hire project, iphone programmer hire, flex programmer hire, individual slot machine programmer hire

Acerca do Empregador:
( 0 comentários ) United States

ID do Projeto: #12120801

8 freelancers are bidding on average $241 for this job

$13 USD em 1 dia
(1 Comentário)
1.2
MoohHHooM

Hi, i can help you with this project, please let me know more about it :) Mais

$250 USD em 1 dia
(1 Comentário)
0.3
yogi2707

RESUME Experience :- Total 6 Years in IT field. Last 4 years in PHP, MySQL, Laravel Sr. PHP/wordpress/joomla Developer / Team Leader / Project Leader (LAMP / WAMP) Skill Set Scripting Language PHP, Larave Mais

$555 USD in 10 dias
(0 Comentários)
0.0
$252 USD in 10 dias
(0 Comentários)
0.0
$250 USD in 10 dias
(0 Comentários)
0.0
$555 USD in 10 dias
(0 Comentários)
0.0
fixen2011

Everyone who is bidding right now is exagerating when in fact the project you post for me only cost $30. You can also refer in my previous jobs for reference. let me do this for you. message me.

$30 USD em 1 dia
(0 Comentários)
0.0
hasanbalochvw

Please check my profile to know my extensive experience in Software Engineering. I am bidding low on this project only because I need a start on this website.

$20 USD em 1 dia
(0 Comentários)
0.0