[单项选择题] 对窗体编写如下代码: Option Base 1 Private Sub Form_ KeyPress (KeyAscii As Integer) a=Array(237,126

24 查阅

[单项选择题] 对窗体编写如下代码: 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 ThenFor i=2 To 5 If a(i)>m1 Then m1=a(I) m2=i End IfNext i End If Print m1 Print m2 End Sub 程序运行后,按回车键,输出结果为______ 。

A.484

B.237 1

C.498 5

D.498 4

参考答案:

C

计算机考试