Question: Please check if the code correct for area of rectangle. Private Sub btnCompute _ Click ( . . . ) Handles btnCompute.Click Dim shapeNum As
Please check if the code correct for area of rectangle. Private Sub btnComputeClick Handles btnCompute.Click
Dim shapeNum As Integer
Dim length, width As Double
Input choice of shape and its dimensions
Rectangle
shapeNum CIntmtbSelectionText 'Mask is
Select shapeNum
length CDblInputBoxInput the length of the rectangle:
width CDblInputBoxInput the width of the rectangle:
txtArea.Text CStrlength width
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
