题目内容

执行以下Command1的Click事件过程,在窗体上显示的内容是________。Private Sub Command1_Click( )Dim aa = Array("a","b", "c", "d", "e", "f","g")Print a(2); a(4); a(6)End Sub

查看答案
更多问题

设有如下程序:Option Base 1Private Sub Form_Click()Dim ADim i As IntegerA=Array(10,20,30,40,50,60,70,80,90)For i=1 To 4Print A(4+i);Next iEnd Sub程序运行后,单击窗体,则在窗体上显示的是________。

设有数组声明语句:Dim A(2 To 4,5)以上语句所定义的数组A中共有________个元素。

下列程序段的执行结果为 ________。Dim M(3)For i=1 To 3M(i)=0Next iK=3For i=1 To kFor j=1 TO kM(j)=M(i)+1Print M(k);Next jNext i

下列程序段的执行结果为____________Dim A(5, 5) As IntegerFor i = 1 To 3For j = 1 To 5A(i, j) = i * jNext jNext iPrint A(2, 3) + A(3, 4) + A(4, 5)

答案查题题库