You are on page 1of 1

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button1.Click
Dim a, b, c, aux As Integer
a = txt1.Text
b = txt2.Text
c = txt3.Text
If (a <
aux
a =
b =
End If

b) Then
= a
b
aux

If (a <
aux
a =
c =
End If

c) Then
= a
c
aux

If (b <
aux
b =
c =

c) Then
= b
c
aux

End If
txtMostrar.Text = c & b & a
End Sub
End Class

You might also like