Question: Is this the right code for the below question? Private Sub btnCompute _ Click ( . . . ) Handles btnCompute.Click Dim shapeNum As Integer

Is this the right code for the below question? Private Sub btnCompute_Click(...) Handles btnCompute.Click
Dim shapeNum As Integer
Dim length, height, width As Double
Input choice of shape and its dimensions
1, Rectangle
shapeNum = CInt(mtbSelection.Text) 'Mask is 0
Select Case shapeNum
Case 1
length = CDbl(InputBox("Input the length of the rectangle: "))
width = CDbl(InputBox("Input the height of the rectangle: "))
txtArea.Text = CStr(length * weight) to write coding for area of rectangleQuestion 3 Area Function
Length:
Widith:
Area:
 Is this the right code for the below question? Private Sub

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!