Question: Write a Java application to do the following: Asks the user to enter a runner's first name, distance traveled and time elapsed. Create an object

Write a Java application to do the following: Asks the user to enter a runner's first name, distance traveled and time elapsed. Create an object called runner1 from class Marathon Runner you defined in previous question and its values according to the input data. Display the details of runner1. Display the message "You broke the speed record" if runnerl is faster than the speed ra of value 6.7 (m/s) ditor to formal your
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
