对窗体编写如下事件过程:Option Base 1Private Sub Form_KeyPress (KeyAScii AS Integer)arr=Array(12,15,18,20,24)m1=arr(1)m2=1If fKeyAscii=12 ThenFor i=2 To 5If arr(i)>m1 Thenm1=arr(i)m2=iEnd IfNext iEnd IfPrint m1Print m2End Sub程序运行之后按回车键,输出结果为( )。
A. 12 1
B. 20 2
C. 18 5
D.24 12