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 btnCompute
Click
Handles btnCompute.Click
Dim shapeNum As Integer
Dim length, width As Double
Input choice of shape and its dimensions
Rectangle
shapeNum
CInt
mtbSelection
Text
Mask is
Select shapeNum
length
CDbl
InputBox
Input the length of the rectangle:
width
CDbl
InputBox
Input the width of the rectangle:
txtArea.Text
CStr
length
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
