60 537
Assignments Done
97,9%
Successfully Done
In April 2018

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)
Expert's answer
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, 11: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

Ask Your question

Submit
Privacy policy Terms and Conditions