Question: write a java program to find the fastest runner and display his or her run time in hours and minutes Time (minutes) Name Elena Thomas

write a java program to find the fastest runner and display his or her run time in hours and minuteswrite a java program to find the fastest runner and display his

Time (minutes) Name Elena Thomas Hamilton 278 Suzie Phil Matt Alex Emma John ames Jane Emily Daniel Neda Aaron Kate 341 273 329 445 402 388 275 243 334 412 393 299 343 317 265 Find the fastest runner In particular, write a program as follows. Print the list of runners and times as above. Then print the name of the fastest runner and his/her time (in hours and minutes) hown below. The program The names and running times are to be entered into the program as s should have a method that takes as input an array of integers and returns the index corresponding to the person with the lowest time. T he program should apply this method to the array of running times to find the fastest runner Extra Credit (10 points): Print the list of runners and times nicely formatted in columns as displayed above. One option is to use the printf)method. Here is some program code to get started class Marathon [ public static void main (String[] arguments) final int numRunners 16; String] names "Elena", "Thomas", "Hamilton", "Suzie", "Phil", "Matt", "Alex", "Emma", "John", "James", "Jane", "Emily", "Daniel", "Neda", "Aaron", "Kate"]; int [] times 1341, 273, 278, 329, 445, 402, 388, 275, 243, 334, 412, 393, 299,343, 317, 265}; for (inti 0; i

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!