A.13
B.14
C.27
D.15
[单选题]阅读程序: Option Base 1 Private Sub Form_Click() Dim art,Sum Sum=0 art=Array(1,3,5,7,9,11,13,15,17,19) For i=1 To 10 If arr(i)/3=arr(i)/3 Then Sum=Sum+art(i) End If Next i Pdnt Sum End Sub 程序运行后,单击窗体,输出结果为( )。A.13B.14C.27D.15
[主观题]阅读程序;Option Base 1Private Sub Form_ KeyPress (KeyAscii As Integer)art = Array(268, 542, 693, 365, 489, 147, 852)a1 = arr(1)a2 = 1If KeyAscii = 13 ThenF.or a = 2 To 6If arr(i) > a1 Thena1 = arr(i)a2 = iE.nd IfNext iE.nd IfPrint a1; a2E.nd Sub程序运行后,按回车
[单选题]阅读程序: Option Base 1 Private Sub Form. Click() Dim arr,Sum Sum= 0 arr=Array(1,3,5,7,9,11,13,15,17,19) For i=1 To 10 If arr(i)/3=arr(i)/3 Then Sum=Sum+arr(i) End If Next i Print Sum End Sub 程序运行后,单击窗体,输出结果为A.13B.14C.27D.15
[单选题]阅读程序: Option Base 1 Private Sub Form_Click( ) Dim arr Sum Sum=0 arr=Array(1,3,5,7,9,11,13,15,17,19) For i=1 TO 10 If arr(i)/3=arr(i)/3 Then Sum=Sum+art(i) End If Next i Print Sum End Sub 程序运行后,单击窗体,输出结果为A.13B.14C.27D.15
[单选题]阅读程序: Option Base 1 Private Sub Form_Click( ) Dim arr,Sum Sum=0 arr=Array(1,3,5,7,9,11,13,15,17,19) For i=1 To 10 If arr(i)/3=arr(i)/3 Then Sum=Sum+arr(i) End If Next i Print Sum End Sub程序运行后,单击窗体,输出结果为A.13B.14C.27D.15
[单选题]请阅读程序:Private Sub Form_Click()m=1F.or i=4 To 1 Step-1Print Str(m);m=m+1F.or j=1 To iPrint”*”;Next jPrintNext iE.nd Sub程序运行后,单击窗体,则输出结果是( )。A.1**** 2*** 3** 4*B.4* 3** 2*** 1****C.**** *** ** *D.* ** *** ****
[单选题]运行下列程序:Option Base 1Private Sub Form_Click()y = 43x = Array(21, 4, 50, 18, 23, 44, 87, 32, 67, 70)F.or i = 1 To 10If x(i)< y Thenz = x(i) + 1y = x(i)E.lsez = z + yE.nd IfNext iPrint zE.nd Sub单击窗体后,则在窗体上显示的结果是()。A.43B.21C.37D.44
[单选题]有如下程序: Option Base 1 Private Sub Form. Click() Dim arr,Sum Sum=0 alt=Array(1,3,5,7,9,11,13,15,17,19) For i=1 To 10 If arr(i)/3=arr(i)/3 Then Sum=Sum+arr(i) End If Next i Print Sum End Sub 程序运行后,单击窗体,输出结果为______。A. 25B.26C.27D.28
[单选题]有如下程序: Option Base 1 Private Sub Form_Click() Dim arr,Sum Sum=0 alt=Array(1,3,5,7,9,11,13,15,17,19) For i=1 To 10 If arr(i)/3=arr(i)13 Then Sum=Sum+alt(I) End If Next i Print Sum End Sub 程序运行后,单击窗体,输出结果为______。A.25B.26C.27D.28
[单选题]有如下程序: Option Base 1 Private Sub Form_Click() Dim arr, Sum Sum=0 arr=Array(1, 3, 5, 7, 9, 11, 13, 15, 17, 19) For i=1 To 10 If arE(i)/3=arr(i)/3 Then Sum=Sum+arr(i) End If Next i Print Sum End Sub 程序运行后,单击窗体,输出结果为______。A.25B.26C.27D.28