Comment trouvez-vous le plus grand nombre entre 5 avec vb.net?

C'est le code pour trouver maximum dans les 3 mais je veux le code pour trouver le maximum parmi 5:

Dim a, b, c As Integer

a = InputBox("enter 1st no.") 
b = InputBox("enter 2nd no.") 
c = InputBox("enter 3rd no.")

If a > b Then 
    If a > c Then 
        MsgBox("A is Greater") 
    Else 
        MsgBox("C is greater") 
    End If 
Else 
    If b > c Then 
        MsgBox("B is Greater") 
    Else 
        MsgBox("C is Greater")
    End If 
End If 

OriginalL'auteur sangeen | 2013-03-26