Answer to Question #6090 in Visual Basic for VB

Question #6090
Write a program with a form that contains three labels & text boxes (Base, Height & Area) in addition to a button labeled compute Triangle Area. The user must enter the base and height to find the area. (Triangle Area = 0. 5base x Height)
1
Expert's answer
2012-01-26T11:28:44-0500
Public Class Form1
Private Sub btnCalculate_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
btnCalculate.Click
txtTriangleArea.Text = (0.5 * Double.Parse(txtBase.Text) *
Double.Parse(txtHeight.Text)).ToString()
End Sub
End Class

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

Assignment Expert
01.04.14, 15:50

anis
24.03.14, 10:36

write a project in visual basic to design a suitable form to allow the uses to enter name of salesman and sales amount and than calculate and display commission.

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS