Dim a As Variant
Dim b As Variant
Dim c As Variant
Dim Ag As Variant
Dim Bg As Variant
Dim Cg As Variant
Dim altura As Variant
Dim base As Variant
Dim area As Variant
Private Sub Timer1_Timer()
display = Time
End Sub
Private Sub Aa_Click()
Ag = display
End Sub
Private Sub ap_Click()
a = display
End Sub
Private Sub Bb_Click()
Bg = display
End Sub
Private Sub bp_Click()
b = display
End Sub
Private Sub Cc_Click()
Cg = display
End Sub
Private Sub cp_Click()
c = display
End Sub
Private Sub Areaa_Click()
altura = Sin(Ag * (3.1415 / 180)) * c
Bg = 180 - Ag - Cg
base = (c * Sin(Bg * (3.1415 / 180))) / Sin(Cg * (3.1415 / 180))
area = (base * altura) / 2
display = area
End Sub