Private Sub Command1_Click()
Dim a As Single
Dim b As Single
Dim c As Single
Dim max As Single
a = Val(InputBox("è¾å
¥ç¬¬1个æ°"))
max = a
b = Val(InputBox("è¾å
¥ç¬¬2个æ°"))
If b > max Then max = b
c = Val(InputBox("è¾å
¥ç¬¬3个æ°"))
If c > max Then max = c
MsgBox "æ大æ°æ¯" & max
End Sub
温馨提示:答案为网友推荐,仅供参考