Question: Lab 03-2Accumulate test score data In this exercise, you'll create a form that accepts one or more scores from the user. Each time a score

 Lab 03-2Accumulate test score data In this exercise, you'll create a

Lab 03-2Accumulate test score data In this exercise, you'll create a form that accepts one or more scores from the user. Each time a score is added, the score total, score count, and average score are calculated and displayed Score Calculator Score: 98 Add Score total: 472 Score count: 5 Average:94 Clear Scores Exit 6. Start a new project named Add labels, text boxes, and buttons to the default form and set the properties of the form and its controls so they appear as shown above. When the user presses the Enter key, the Click event of the Add button should fire. When the user presses the Esc key, the Click event of the Exit button should fire 7. Declare two class variables to store the score total and the score cpunt Create an event handler for the Click event of the Add button. This event handler should get the score the user enters, calculate and display the score total, score count, and average score, and move the focus to the Score text box. It should provide for integer entries, but you can assume that the user will enter valid integer values 8. 9. 10. Create an event handler for the Click event of the Clear Scores button. This event handler should set the two class variables to zero, clear the text boxes on the form, and move the focus to the Score text box 11. Create an event handler for the Click event of the Exit button that closes the form 12. Test the application to be sure it works correctly

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 Databases Questions!