Create an application that allows the user to enter each month’s amount of rainfall (in inches) and calculates the total and average rainfall for a year. Figure 5-52 shows the application’s form.
Once the user has entered the amount of rainfall for each month, he or she may click the Calculate button to display the total and average rainfall. The Clear button should clear all the text boxes and labels on the form. The Exit button should end the application.