USE C++ programming language Besides the main() function, the program needs to define three other functions as described in Table . Use appropriate argument (if necessary) for each function The program needs to print out the following information. Figure shows the example, run
USE C++
Besides the main() function, the program needs to define three other functions as described in Table . Use appropriate argument (if necessary) for each function
The program needs to print out the following information. Figure shows the example, run of the successful program.
i. The team ID.
ii. The participant ID.
iii. The scores for the five events, E1, E2, E3, E4 and E5 for each participant.
iv. The total score for each participant.
v. The total score for each team.
vi. The winner for individual category (selected based on the highest total score that collected by the participants).
vii. The winner for group category (selected based on the highest total score that collected by the teams).
viii. Display all of these output in an output file name “output.txt” as well.
Step by step
Solved in 2 steps