Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A group of 16 students decided to run in the Columbus Marathon. Their names and times (in minutes) are below: Name Time (minutes) Elena 341

A group of 16 students decided to run in the Columbus Marathon. Their names and times (in minutes) are below: Name Time (minutes) Elena 341 Thomas 273 Hamilton 278 Suzie 329 Phil 445 Matt 402 Alex 388 Emma 275 John 243 James 334 Jane 412 Emily 393 Daniel 299 Neda 343 Aaron 317 Kate 265 Find the fastest runner. In particular, write a JAVA 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). The names and running times are to be entered into the program as shown below. The program should have a method that takes as input an array of integers and returns the index corresponding to the person with the lowest time. The 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.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Identify four applications of HRM to healthcare organizations.

Answered: 1 week ago