Solved Visual Basic Trigonometry Calculator

April 26, 2012 at 17:57:15
Specs: Windows 7
I am finding quite difficult in coding VB Trigonometry Calculator. Their Should be three sides and two angles. When two sides are entered it should display the answers of the remaining or when 1 side and a angle is entered it should also display the answer.

rivate Sub cmdCompute_Click()
Dim txtSideA, txtSideB, txtAngleC, txtAngleB As Double

Side A = txtSideA
Side B = txtSideB
Side C = txtSideC
Angle A = txtAngleA
Angle B = txtAngleB

If Sin(txtSideC) = txtAngleA And txtAngleB Then
ElseIf txtAngleA = txtSideA And txtAngleB Then
ElseIf txtSideB = txtSideA And txtAngleB Then
ElseIf txtSideA = txtSideB And txtSideC Then
End If

End Sub

See More: Visual Basic Trigonometry Calculator

Report •

July 25, 2012 at 07:22:26
✔ Best Answer

Report •
Related Solutions

Ask Question