Question: Hello, I need the following code in C++. The program needs to be able to numerically calculate numbers down to the correct decimal point (as
Hello, I need the following code in C++. The program needs to be able to numerically calculate numbers down to the correct decimal point (as shown - not like previous solutions) and requires the correct function names (also attached). Thanks very much.

Enter number of splits: Enter a value between 1 and 100: 5 Enter START time of split 1 in hours, minutes and seconds Enter a value between 0 and 24: 12 Enter a value between 0 and 60: -4 Enter a value betwecn 0 and 60: 45 Enter a value between 0 and 60: 121 Enter a value betwecn 0 and 60: 0 Enter END time of split 1 in hours, minutes and seconds Enter a value between 0 and 24: 12 Enter a value between 0 and 60: 53 Enter a value betwecn 0 and 60: 20 Split 1: 12:45:0 to 12:53:20: time 8.33333, pace-8.33333 minutes per mile Enter END time of split 2 in hours, minutes and seconds Enter a value between 0 and 24: 13 Enter a value betwecn 0 and 60: 01 Enter a value between 0 and 60: 50 Split 2: 12:53:20 to 13:1:50: time 8.5, pace 8.5 minutes per mile Enter END time of split 3 in hours, minutes and seconds Enter a valuc betwecn 0 and 24: 13 Enter a value between 0 and 60: 09 Enter a valuc betwecn 0 and 60: 50 Split 3: 13:1:50 to 13:9:50: time 8, pace 8 minutes per mile Enter END time of split 4 in hours, minutes and seconds Enter a value between 0 and 24: 13 Enter a value between 0 and 60: 17 Enter a value between 0 and 60: 20 Split 4: 13:9:50 to 13:17:20: time 7.5, pace-7.5 minutes per mile Enter END time of split 5 in hours, minutes and seconds Enter a value between 0 and 24: 13 Enter a value between 0 and 60: 24 Enter a value between 0 and 60: 26 Split 5: 13:17:20 to 13:24:26: time 7.1, pace-7.1 minutes per mile First Half Split: time 20.8333, pace8 Second Half Split: time 18.6, pace 744 minutes per mile You ran a negative split -8.33333 minutes per mile Average speed 7.60778 mph Overview Your solution should consist of one relatively large main function that calls several smaller functions that perform calculations or print data. Functions Your program is to include the following functions (which are discussed in detail in the sections that follow) . getlntegerBetweern elapsedTime pace printTime " printSplit Data Types The data types of program variables are important in ensuring that the program returns the correct values. You will need to keep track of or calculate the following information number of splits integer " overall distance of the run-double or integer " split start time in hours, minutes and seconds -integers " split end time in hours, minutes and seconds -integers time taken to run the first half in minutes- double Enter number of splits: Enter a value between 1 and 100: 5 Enter START time of split 1 in hours, minutes and seconds Enter a value between 0 and 24: 12 Enter a value between 0 and 60: -4 Enter a value betwecn 0 and 60: 45 Enter a value between 0 and 60: 121 Enter a value betwecn 0 and 60: 0 Enter END time of split 1 in hours, minutes and seconds Enter a value between 0 and 24: 12 Enter a value between 0 and 60: 53 Enter a value betwecn 0 and 60: 20 Split 1: 12:45:0 to 12:53:20: time 8.33333, pace-8.33333 minutes per mile Enter END time of split 2 in hours, minutes and seconds Enter a value between 0 and 24: 13 Enter a value betwecn 0 and 60: 01 Enter a value between 0 and 60: 50 Split 2: 12:53:20 to 13:1:50: time 8.5, pace 8.5 minutes per mile Enter END time of split 3 in hours, minutes and seconds Enter a valuc betwecn 0 and 24: 13 Enter a value between 0 and 60: 09 Enter a valuc betwecn 0 and 60: 50 Split 3: 13:1:50 to 13:9:50: time 8, pace 8 minutes per mile Enter END time of split 4 in hours, minutes and seconds Enter a value between 0 and 24: 13 Enter a value between 0 and 60: 17 Enter a value between 0 and 60: 20 Split 4: 13:9:50 to 13:17:20: time 7.5, pace-7.5 minutes per mile Enter END time of split 5 in hours, minutes and seconds Enter a value between 0 and 24: 13 Enter a value between 0 and 60: 24 Enter a value between 0 and 60: 26 Split 5: 13:17:20 to 13:24:26: time 7.1, pace-7.1 minutes per mile First Half Split: time 20.8333, pace8 Second Half Split: time 18.6, pace 744 minutes per mile You ran a negative split -8.33333 minutes per mile Average speed 7.60778 mph Overview Your solution should consist of one relatively large main function that calls several smaller functions that perform calculations or print data. Functions Your program is to include the following functions (which are discussed in detail in the sections that follow) . getlntegerBetweern elapsedTime pace printTime " printSplit Data Types The data types of program variables are important in ensuring that the program returns the correct values. You will need to keep track of or calculate the following information number of splits integer " overall distance of the run-double or integer " split start time in hours, minutes and seconds -integers " split end time in hours, minutes and seconds -integers time taken to run the first half in minutes- double
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
