Create a Visual Basic Windows application. Use the following names for the solution, project, and form file, respectively: Rainfall Solution, Rainfall Project, and Main Form.vb. Save the application in the VB2010\Chap07 folder. Create the interface shown in Figure 7-18. The user will enter a monthly rainfall amount and then click the Calculate button. The button’s Click event procedure should calculate and display both the total and average of the rainfall amounts entered so far. Th e event procedure should use a Sub procedure named CalcTotalAndAverage to make the necessary calculations. Code the application. Save the solution and then start and test the application. Close the Code Editor window and then close the solution.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here