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. 

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. 

Be the first to reply

Leave a Reply

Your email address will not be published.