Question: Write a Java application to do the following: a. Asks the user to enter a runner's first name, distance traveled and time elapsed. Create an
Write a Java application to do the following: a. 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 set its values according to the input data. b. Display the details of runnerl. c. Display the message "You broke the speed record" if runnerl is faster than the speed record of value 6.7 (m/s)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
