One enters elapsed times for each runner given in units of minutes, seconds, and hundredths. In a 5000 meter race, elapsed times are entered at the one and two mile marks. These elapsed times are then used to compute "splits" for each part of the race; that is, the time it took a runner to run each of the three race segments. Write a complete program that will accept as input three times given in units of minutes, seconds, and hundredths, and then produce output that includes the split for each segment. Typical input would be:
Runner Number 234
Mile times: 1 5:34.22
2 11:21.67
Finish Time: 17:46.85
Typical output would be
Runner number 234
Split One 5:34.22
Split Two 5:47.45
Split Three 6:25.18
Finish Time 17:46.85
This problem has our whole c++ class stumped.
Our problem is that c++ will not understand the
time in that format because of the COLON
PLEASE HELP