在窗体上画一个命令按钮,然后编写如下代码:
Option Base 1
Private Sub Command1_Click()
Dim a(4, 4) As Integer
For i = 1 To 4
For j = 1 To 4
a(i, j) = (i - 1) * 3 + j
Next j
Next i
For i = 3 To 4
For j = 3 To 4
Print a(j, i);
Next j
Next i
End Sub
程序运行后,单击命令按钮,其输出结果为____。
发布于 2021-02-16 19:08:53
- 体验AI问答!更聪明、超智能!
- 一款基于GPT的超级AI助手,可以对话、创作、写文案!