[单项选择题] 在窗体上画一个命令按钮,其名称为Command1,然后编写如下程序: Option Base 1 Private Sub Command1_Click()Dim a As Vari
16 查阅
[单项选择题] 在窗体上画一个命令按钮,其名称为Command1,然后编写如下程序: Option Base 1 Private Sub Command1_Click()Dim a As Varianta=Array(1,2,3,4)j=1For i=4 To 1 Step -1 s = s + a(i)* j j = j * 10Next iPrint s End Sub 运行上面的程序,单击命令按钮,其输出的结果为
A.4321
B.12
C.34
D.1234
参考答案: