Question: Create a program called RunnersCompXYZ.java ( replace XYZ by your first and last names ) The program prompts the user to enter the following data

Create a program called RunnersCompXYZ.java (replace XYZ by your first and last names)
The program prompts the user to enter the following data for 2 runners: Runner name, track length (in yards) and number of laps
For each runner, calculate and display the name and total distance covered (in yards)
Sample run
[Runner 0] Enter name, track length and laps: Dustin 455
[Runner 1] Enter name, track length and laps: Vladimir 504
Runner Dustin covered 225.00 yards
Runner vladimir covered 200.00 yards
Create a program called RunnersCompXYZ.java (

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 Programming Questions!