Save the program as RunningTheRace.java

  

Instructons
Save the program as RunningTheRace.java
 

Please run the program from the command prompt

You will need to go to the folder where you’ve saved this file then type: 

javac RunningTheRace.java

This will compile the file then type:

java RunningTheRace

This will run the program

 
Write a program that asks for the names of three runners and the time, in minutes, it took each of them to finish the race. The program should display the names of the runners in the order that they finished. 

Tags: No tags