题库 高中信息

题干

如图所示的VB程序中,输入以下程序代码,运行后单击命令按钮Command1,出现错误的提示图是:()

Private Sub Command1_Click()
Dim a(1 To 4) As Integer
Dim i As Integer
a(1) = 1
For i =" 2" To 4
a(i) =" 2" * a(i - 1) + 1
Next i
List1.AddItem Str(a(i))
End Sub
A.
B.
C.
D.
上一题 下一题 0.99难度 选择题 更新时间:2015-08-19 02:28:41

答案(点此获取答案解析)