单选题
VB
题号 #145044
设有如下程序
Option Base 1
Private Sub Command1_Click()
Dim a(10)As Integer
Dim n As Integer
n=InputBox("输入数据")
If n<10 Then
Call GetArray(a,n)
End If
End Sub
Private Sub GetArray(b()As Integer,n As Integer)
Dim c(10)As Integer
j=0
For i=1 To n
b(i)=CInt(Rnd()*100)
If b(i)/2=b(i)\2 Then
j=j+1
c(j)=b(i)
End If
Next
Print j
End Sub
以下叙述中错误的是( )。
参考答案
C
答案解析
暂无解析
你可能感兴趣的试题
A.4
B.5
C.6
D.7
A.13
B.14
C.27
D.15
A.x没有实际作用,因此可以将该语句写为:Call Shell(File1,FileName,1)
B.双击文件列表框中的文件,将触发该事件过程
C.要执行的文件的名字通过File1.FileName指定
D.File1中显示的是当前 驱动 器、当前目录下的文件