The name of the file is racedattxt each line of the file


You are new to C++ programming and you are having trouble with the output. Please help you 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: The name of the file is racedattxt each line of the file
Reference No:- TGS02876794

Expected delivery within 24 Hours