Fiona
Posts: 2
Nickname: fiona
Registered: May, 2004
|
|
Re: Please please help me with a assignment!!!
|
Posted: May 10, 2004 5:11 AM
|
|
Thank you so much!! I gotta design a program that processes the times achevievd by a set of 25 athletes. It has to use a array of strings to hold the athletes names, and three arrays of double values to hold the times they acheived in the 100metres, 200metres, and 300metres.
(a)Declare a constant to hold number of athlets. Using this constant declare arrays to hold their names and their times for each of the three events.
(b) Invite the user to enter easch athlets name and the time in seconds for each of the three events, and then it will store this information in the appropiate array.
(c) Write a section of java code which will display the list of athlets and their associated times in each event in colums with the headings shown below: Name 100metres 200metres 300metres
(d) Write a section of java code which finds the fastest time acheived (the smallest time recorded) in the 100 metres, and prints out the name of the person along with the time achevied.
Its a pretty long question, but i would appreciate any help you could give me with ne of it thanks!!
|
|