Open the Area Solution (Area Solution.sln) file contained in the ClearlyVB2012Chap26 Area Solution folder. If necessary, open the designer window.

a. Use the PROJECT menu to add a new class file named Square.vb to the project. The Square class should have one attribute: a side measurement (which may contain a decimal place). It also should have two behaviors: a default constructor and a function that calculates and returns the area of the square. Code the Square class. Save the solution and then close the Square.vb window.

b. Open the form’s Code Editor window. Use the comments entered in the btnCalc_Click procedure to code the procedure.

c. Save the solution and then start and test the application. Close the Code Editor window and then close the solution. (See Appendix B for the answer.)

"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
Looking for a Similar Assignment? Our Experts can help. Use the coupon code SAVE30 to get your first order at 30% off!