A.7
B.15
C.157
D.528
[单选题]在窗体上添加一个命令按钮(名为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 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()D.im arr(5)As Integer,arr1(5)As Integern=3F.or i=1 To 5arr(i)=iarr1(n)=2*n+iNextPrint arr1(n);arr(n)E.nd Sub程序的运行结果为A.3 11B.11 3C.13 3D.3 13
[单选题]在窗体上画一个命令按钮(名称为Command1),编写如下事件过程: Private Sub Command1_Click() b=5 c=6 Print a=b+c End Sub 程序运行后,单击命令按钮,输出的结果是: ______。A.a=11B.a=b+cC.a=D.假
[试题]( 15 )在窗体上添加一个命令按钮(名为 Command1 ),然后编写如下事件过程:Private Sub Command1_Click ()D.im b,kF.or k=1 to 6b=23+kNext kMsgBox b+kE.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