[单项选择题] 当发生Form_Click事件时,窗体上显示的第三行是( )。 Option Base 1 Private Sub Form_Click()Dim i As Integer,j
20 查阅
[单项选择题] 当发生Form_Click事件时,窗体上显示的第三行是( )。
Option Base 1
Private Sub Form_Click()
Dim i As Integer,j As Integer,k As Integer
Dim a(5,5)As Integer
For i=1 To 5
k=1
For i=1 To 5
If(i<=j)Then
a(i,j)=k
k=k+2
Else
a(i,j)=k+1
End If
Next j
Next i
For i=1 To 5
For j=1 To 5
Print a(i,j);
Next j
Next i
End Sub
A.1 3 5 7 9
B.2 1 3 5 7
C.2 2 2 1 3
D.2 2 1 3 5
参考答案: