Rene guevara
2
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If Val(TextBox1.tex) <> Val(TextBox2.tex) <> Val(TextBox3.tex) Then Label(result.caption) = "ESCALENO") End If If Val(TextBox1.tex) = Val(TextBox2.tex) And Val(TextBox3.tex) Then Label(result.caption) = "EQUILATERO") End If If Val(TextBox1.tex) <> Val(TextBox2.tex) And (Val(TextBox2.tex) = Val(TextBox3.tex)) And Val(TextBox3.tex) <> val (textbox1.Text))Then
Transcript of Rene guevara
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If Val(TextBox1.tex) <> Val(TextBox2.tex) <> Val(TextBox3.tex) Then
Label(result.caption) = "ESCALENO")
End If
If Val(TextBox1.tex) = Val(TextBox2.tex) And Val(TextBox3.tex) Then
Label(result.caption) = "EQUILATERO")
End If
If Val(TextBox1.tex) <> Val(TextBox2.tex) And (Val(TextBox2.tex) = Val(TextBox3.tex)) And Val(TextBox3.tex) <> val (textbox1.Text))Then
Label(resulT.caption) = "ISOSCELES"
End If
End Sub