a) Prompt the user to enter numerical grades of students in a test, one at a time, and store it in an array. This is accomplished in the main module. The user enters a negative number to indicate all the grades are entered. The program will keep the count of the number of grades entered.
b) Call function to calculate the average grade of the class, the median, and the lowest and highest grades.
c) Finally display the class average, highest grade, the lowest grade, and the median at the bottom. At the end the user is prompted to exit or enter grades for another class.
Go easy on me...I'm just a beginner. So when I changed some of the variables to local, I got an error message "error C2082: redefinition of formal parameter." What do I need to do to make this work??? It's due tonight at midnight CST and I'm so frustrated. Any help would be much appreciated!
First of all can you please use code tags [ Code] [ /Code] around everything so that it indents correctly. It's very hard to see what's happening with all the braces on the left side.