Module module1
Private Property MN As Integer
Private Property FORMA As Object
Sub main()
Dim N1, N2, N3, NM As Integer
[Link] = [Link]
[Link](2, 3)
[Link]("ingrese el primer numero: ")
N1 = CInt([Link])
[Link] = [Link]
[Link] = [Link]
[Link]("ingrese el Segundo numero: ")
N2 = CInt([Link])
If N1 And N1 > N3 Then
NM = N1
Else
If N2 > N3 Then
MN = N2
Else
MN = N3
End If
End If
Segunda(FORMA)
If N1 > N2 And N1 > N3 Then
MN = N1
ElseIf N2 > N3 Then
MN = N2
Else
NM = N3
End If
[Link]("el numero mayor es: {0}", NM)
[Link]()
End Sub
End Module