Write a program that reads four triathlon race time records


You are new to C++ programming andYou are having trouble with the output. Please help with the correct code and picture of correct output, thanks.

Write a program that reads four triathlon race time records from a file. The name of the file is racedat.txt. Each line of the file represents one record and contains an athlete identifier (a single character) and three numeric values.

The three values are the completion times (in minutes) for the running, swimming, and biking stages of a triathlon.

You will produce a nicely formatted report that displays these values, as well as the total time for each athlete. Finally, your report should calculate the average total time for the race.

Hint: You may create your own racedat.txt file using Windows Notepad or other text editor.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a program that reads four triathlon race time records
Reference No:- TGS02876814

Expected delivery within 24 Hours