Question
Create a Visual Basic Windows application. Use the following names for the solution and project, respectively: Average Solution and Average Project. Save the application in
Create a Visual Basic Windows application. Use the following names for the solution and project, respectively: Average Solution and Average Project. Save the application in the VB2012\Chap02 folder. Change the form files name to Main Form.vb. Change the forms name to frmMain. The application should display the average of any three numbers entered by the user. Perform the steps involved in creating an OO application. (See the Note at the beginning of the Exercises section.) Include buttons that allow the user to both clear and print the screen. Send the printout (which should include the buttons) to the Print preview window. Display the average with two decimal places. Code the application using the Val and Format functions. Add appropriate comments in the General Declarations section and in the coded procedures. Use the following three numbers to test the application: 27, 9, and 18. Also test it without entering any data. Finally, test it using letters for the input. Close the Code Editor window and then close the solution.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started