I just ran the program with 3 scores, and values of 10, 12, 14. It correctly identified the average as 12,and identified the max as 3. this is because you are assigning the value of TestScores to the maximum variable. you need, in the loop that takes in the scores, to compare each incoming score to the greatest and smallest. If the incoming score is greater than the max, replace it with the incoming score. Same process (except smaller) with the min. Something like the following (please note this is for demonstration purposes only...it is not the most efficient way to accomplish the task, but does illustrate the logic):
CODE
for (count = 0; count < TestScores; count++)
{
total += score[count];
if(score[count]>max)
max=score[count];
if(count==0)
min=score[count];
if(score[count]<min)
min=score[count];
}
// Calculate the average Test Scores
average = total / TestScores;
// Display the results
cout << fixed << showpoint << setprecision(2);
cout << "Average Score: " << average <<endl;
cout << "The maximum value entered is " << max << endl;
cout << "The minimum of value entered is " << min << endl;