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
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
Get step-by-step solutions from verified subject matter experts
