Question: Please write in C++ building off of the provided template Program Description Write a program to find the maximum, minimum, and average score of 50




Please write in C++ building off of the provided template
Program Description Write a program to find the maximum, minimum, and average score of 50 players. The input to the program is a file containing player name and his score, age, rebounds, steals, blocks, fouls. For maximum and minimum scores, your program needs to output the name of the players along with their scores. Use functions to calculate average, min, and max scores. readFile should read and return number of items read. getMin function should return the index of minimum element. getMax function should return the index of maximum element. getAvg function should return the average of scores. The text file will have player FN and different statistics such as age, points, rebound, steals etc. nbaStats.txt Expected Output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
