This preview shows page 1. Sign up to view the full content.
Unformatted text preview: This function should be called once in the main to accept an array of integers and the arrays size as its arguments. It will display the original twelve scores. void calAverage() This function should be called just once by main, and should be passed the twelve scores. It will calculate and display 1) the average of the eleven high scores, 2) the eleven high scores 3) the lowest score to drop . int findLowest() It should be called by calAverage , which uses the function to determine which of the twelve scores to drop. It will find and return the lowest of the twelve scores passed to it. 12 scores should be the initializations list for an int array. 12 scores are 67, 35, 89, 90, 77, 98, 77, 88, 86, 97, 86, 90....
View Full Document
- Spring '11