Private Sub Command1_Click ()
D.im b,k
F.or k=1 to 6
b=23+k
Next k
MsgBox b+k
E.nd Sub
打开窗体后,单击命令按钮,消息框的输出结果是 ( 15 ) 。
[单选题]( 34 )在窗体上添加一个命令按钮(名为 Command1 ),然后编写如下事件过程:Private Sub Command1_Click()F.or i=1 To 4x=4F.or j=1 To 3x=3F.or k=1 To2x=x+6Next kNext jNext iMsgBox xE.nd Sub打开窗体后,单击命令按钮,消息框的输出结果是A. ) 7B. ) 15C. ) 157D. ) 538
[单选题]在窗体上添加一个命令按钮(名为Command1),然后编写如下事件过程:Private Sub Command1_Click()F.or i=1 To 4x=4F.or j=1 To 3x=3F.or k=1 To2x=x+6Next kNext jNext iMsgBox xE.nd Sub打开窗体后,单击命令按钮,消息框的输出结果是A.7B.15C.157D.538
[单选题]在窗体上添加一个命令按钮(名为Command1,然后编写如下事件过程: Private Sub Command1_Click( ) For i=1 To 4 x=4 For j=1 To 3 x=3 For k=1 To 2 x=x+6 Next k Next j Next i MsgBox x End Sub 打开窗体后,单击命令按钮,消息框的输出结果是______。A.7B. 15C. 157D. 538
[单选题]在窗体上添加一个命令按钮(名为Command1),然后编写如下事件过程: Private Sub Command1_Click() For i=l To 4 x=4 For j=1 To 3 x=3 Fork=1 To 2 x=x+6 Next k Next j Next i MsgBox x End Sub 打开窗体后,单击命令按钮,消息框的输出结果是( )。A.7B.15C.157D.528
[单选题]在窗体上添加一个命令按钮(名为Command1),然后编写如下事件过程:Private Sub Command1_Click()F.or i=1 To 4x=4F.or j=1 To 3x=3F.ork=1 To 2x=x+6Next kNext jNext iMsgBox xE.nd Sub打开窗体后,单击命令按钮,消息框的输出结果是( )。A.7B.15C.157D.528
[单选题]在窗体上添加一个命令按钮,其名为Command1,然后编写代码如下:Option Base 1Private Sub command1_ Click() Dim arr (4)As Integer Dim arrt (4) As Integer for i= 1 To 4 Arr (i)= i arr1 (n)= 2 * n + i Next i Print arr1 (n); arr(n)程序的运行结果为______。A.3 11B.11 3C.10 3D.3 13
[单选题]在窗体上添加一个命令按钮,名为Command1,然后为该命令按钮编写如下事件过程,该过程执行结果为______。Option Base 1Private Sub Cemmand1_Click() Dim a As Variant a = Array(1, 2, 3, 4) j = 1 for i = 4 To 1 Step - 1 s = s+ a(i)* j j= j* 10 Next i Print sEnd SubA.4321B.1234C.34D.12
[单选题]在窗体上添加有一个命令按钮,(名为Command1),然后编写如下事件过程: Private Sub Command1_Click() For i=1 To 4 x=4 For j=1 To 3 x=3 For k=1 To 2 x=x+6 Next k Next j Next I MsgBox x End Sub 打开窗体后,单击命令按钮,消息框的输出结果是 ______。A.7B.15C.157D.538
[单选题]在窗体上添加一个命令按钮(名为Command1),编写如下事件过程: Private Sub Command1_Click() For i=1 To 4 x=4 For j=1 To 3 x=3 For k=-1 To 2 x=x+6 Next k Next j Next i MsgBox x End Sub 打开窗体后,单击命令按钮,消息框的输出结果是( )。A.7B.15C.157D.528
[单选题]在窗体上添加一命令按钮,其名为Command1,然后编写代码如下:private Sub Command1_Click()D.im an(5) As Integer,arrl(5) As Integern=3F.or i=1 To 5arr(i)=iarrl(n)=2*n+iNextPrint arrl(n);arr(n)E.nd Sub程序的运行结果为A.3 11B.11 3C.13 3D.3 13