I need a form that accepts scores from the user, displays the total, count, and average of the scores, and displays a dialog box that lists the scores.
Operation
The user enters a score. If the user clicks the Add button or presses the Enter key the application calculates and displays the score total, score count, and average score. Optional: the application clears the score and returns focus to the score textbox.
If the user clicks the Display scores button, the application sorts the scores (lowest to highest) and displays them in a message box.
If the user clicks the Clear scores button, the application removes all the scores and clears the score, score total, score count, and average controls.
If the user clicks the Exit button or presses the Escape key the application closes.
Specifications
This application should check the number entered by the user to make sure it is a valid integer from 0 to 100. If a value is entered outside this range, the score does not count (and should not be included in the score total, score count, or average).
Here are my errors:
Error1 The name 'scoreCount' does not exist in the current context
Error2 The name 'scoreCount' does not exist in the current context
Error3 The name 'scoreCount' does not exist in the current context
Error4 The name 'scoresArray' does not exist in the current context
Error5 The name 'scoresArray' does not exist in the current context
Error6 'JonesJAsign8.Form1' does not contain a definition for 'clearScores' and no extension method 'clearScores' accepting a first argument of type 'JonesJAsign8.Form1' could be found (are you missing a using directive or an assembly reference?)
I'll post what I have as a reply.
Any help is greatly appreciated.
Thanks in advance.