Descarga

Anuncio
POR: ERICK MOROCHO
CURSO: 6 “G”
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim A, B, C, D As Integer
A = TextBox1.Text
B = TextBox2.Text
C = TextBox3.Text
D = TextBox4.Text
If A > B Then
If A > C Then
If A > D Then
TextBox5.Text = "El mayor es A "
Else
TextBox5.Text = "El mayor es D "
End If
Else
If C > D Then
TextBox5.Text = "El mayor es C"
Else
TextBox5.Text = "El mayor ES D "
End If
End If
Else
If B > C Then
If B > D Then
TextBox5.Text = "El mayor es b "
Else
TextBox5.Text = "El mayor es D "
End If
Else
If C > D Then
TextBox5.Text = "El mayor es C"
Else
TextBox5.Text = "El mayor ES D "
End If
End If
End If
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button3.Click
End
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
TextBox5.Text = " "
End Sub
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles TextBox1.TextChanged
End Sub
End ClasS
Descargar