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
Learn more about our help with Assignments: Visual Basic
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.
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
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.