单选题:窗体上有一个名称为Command1的命令按钮,其单击事件过程代码如下:Private Sub Command1 Clic

  • 题目分类:VB
  • 题目类型:单选题
  • 查看权限:VIP
题目内容:
窗体上有一个名称为Command1的命令按钮,其单击事件过程代码如下:
Private Sub Command1 Click(  )
Static x As Variant
n=0
x=Array(1,2,3,4,5,6,7,8,9,10)
While n<=4
x(n)=x(n+5)
Print x(n):
n=n+1
Wend
End Sub
运行程序,单击命令按钮Command1,窗体上显示的是(  )。 A.1 2 3 4 5
B.6 7 8 9 10
C.2 3 4 5 6
D.6 2 3 4 5

参考答案:
答案解析:

下面程序运行时,若输入395,则输出结果是(  )。Private Sub Command1_Click(  )Dim

下面程序运行时,若输入395,则输出结果是(  )。Private Sub Command1_Click(  )Dim X%x=InpetBox("请输

查看答案

计算的近似值的一个公式是π/4=1-(1/3)+(1/5)-(1/7)+…+(-1)n-1(1/2n -1)。某人编写下

计算的近似值的一个公式是π/4=1-(1/3)+(1/5)-(1/7)+…+(-1)n-1(1/2n -1)。某人编写下面的程序用此公式计算并输出的近似值:

查看答案

下面不能在信息框中输出“VB”的是(  )。

下面不能在信息框中输出“VB”的是(  )。A.MsgBox"VB" B.MsgBox("VB") C.MsgBox("VB") D.Call MsgBox"V

查看答案

阅读文章,回答题:It is often difficult for a man to be quite sure. w

阅读文章,回答题:It is often difficult for a man to be quite sure. what tax heought to

查看答案

简述宋朝之“编敕”情况。

简述宋朝之“编敕”情况。

查看答案