Question: use java Exercise 2. Write a program that asks the user for three runner's names and the time, in minutes, it took each of them

use java  use java Exercise 2. Write a program that asks the user

Exercise 2. Write a program that asks the user for three runner's names and the time, in minutes, it took each of them to finish a race. The program should display the names of the runners in the order that they finished the race. Sample output Enter name of runner 1: George Enter name of runner 2: Henry Enter name of runner 3: Peter Enter time to finish race in minutes for runner 1: 30 Enter time to finish race in minutes for runner 2: 20 Enter time to finish race in minutes for runner 3: 12 The order the race was completed is as follows: Runner in first place: Peter Runner in second place: Henry Runner in third place: George

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!