Question: Write a C + + program that takes seven test scores as input and stores them in an array. It drops the lowest score, and

Write a C++ program that takes seven test scores as input and stores them in an array. It drops the lowest score, and computes the average of the remaining six scores. It outputs the average score.
Your program should:
se a function lowestScore that figures out which score is the lowest. Pass your gradeArray to this method. It should return the lowest score.
Have a main function with two loops. One loop will request the test scores and store them in an array. The other loop adds up all of the scores. The main function then calls lowestScore and computes the average of the top six scores.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!