Question: I need help with this program java Additional Requirement The fastest human marathon time is 1:59:40 by Eliud Kipchoge on October 12, 2019. On 12
Additional Requirement The fastest human marathon time is 1:59:40 by Eliud Kipchoge on October 12, 2019. On 12 October 2019, Kipchoge ran the marathon distance at a special event in Vienna, Austria, achieving a landmark time of 1:59:40, the first run ever breaking the two-hour barrier. The run did not count as a new marathon record, as standard competition rules for pacing and fluids were not followed and it was not an open event. After your program tells the user what his pace is, your program will show the user how he or she compares with Eliud's pace. Below is what your output should look like. These are actual numbers from the fastest 5 KI ever ran many, many years ago. KIPCHOGE Welcome to the Los Angeles Marathon Training Program Please enter your name: Steve Please enter your distance: 3.1 How many hours: 0 How many minutes 17 How many secondst 55 Hi Steve Your pace is 5:46 - At this rate your marathon time would be 2:31:31 Good luck with your training! Pace Table Mile Eliud 0:04:33 0:09:07 0:13:41 0:18:15 0:22:49 0:27:23 0:31:56 0:36:30 0:41:04 0:45:38 0:50:12 0:54:46 0:59:20 1:03:53 1:08:27 1:13:01 1:17:35 1:22:09 1:26:43 1:31:16 1:35:50 1:40:24 1:44:58 1:49:32 1:54:06 1:58:40 26m, 385y 1:59:40 Steve 0:05:46 0:11:33 0:17:20 0:23:07 0:28:53 0:34:40 0:40:27 0:46:14 0:52:00 0:57:47 1:03:34 1:09:21 1:15:08 1:20:54 1:26:41 1:32:28 1:38:15 1:44:01 1:49:48 1:55:35 2:01:22 2:07:09 2:12:55 2:18:42 2:24:29 2:30:16 2:31:31 The Los Angeles Marathon is Sunday, March 8, 2020 and we are going to write a computer program to help the runners train. You will write a program that will ask the runner's name, how far he/she ran, and how long it took. You will then calculate how fast the runner actually ran (the runner's pace). Then you will calculate how long it would take to run a marathon if the runner were able to maintain this pace. Then you will produce a chart showing your marathon progress compared to the world record holder progress. Here are the steps for the program (the algorithm) 1) Ask for the runner's name. 2) Ask the runner to enter a floating point number for the number of miles ran, like 3.6, or 9.5. 3) Then ask for the number of hours, minutes, and seconds it took to run. Example: What is your first name? How far did you run today? 10.6 How long did it take? hours: 1 minutes: 34 seconds: 17 // user enters Pheidippides // user enters 10.6 miles Iluser enters 1 hours // user enters 34 minutes // user enters 17 seconds Hi Pheidippides, Your pace is 8:53 minutes : seconds) At this rate your marathon time would be 3:53:12 pace marchin Good luck with your training! Definitions: marathon - the race is 26 miles and 385 yards long mile = 1760 yards pace - how long it takes (in minutes and seconds) to run 1 mile. Example: if I can run 1 mile in 5 minutes and 23 seconds, then my pace is 5:23. (min:sec) or 5.3833 minutes (floating point number)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
