当前位置:IT认证>BASIC题库

问题:[选择题]

[单项选择题] 编写如下事件过程: Private Sub Form_Activate() Dimscore(1 to 3)As Integer Dimi As Integer Dim t As Variant Fori= 3 To 1 Step-1 score(i)=2*i Nexti ForEach t Inscore Printt Next End Sub 程序运行后窗体上显示的值是( )。


A.642
B.246
C.2
D.6

参考答案: B

  参考解析

微信端