单选题
运行下列程序,按下回车键后输出结果为__________。
Option
Base 1
Private Sub Form_KeyPress(KeyAscii As
Integer)
a=Array(237,126,87,48,498)
m1=a(1)
m2=1
If
KeyAscii=13 Then
For i=2 To 5
If
a(i)>m1 Then
m1=a(i)
m2=i
End If
Next
i
End If
Print m1
Print m2
End Sub
- A.48 4
- B.237 1
- C.498 5
- D.498 4