成人高等教育 / VisualBasic
正确率:100%
设有如下程序:
Option Base 0
Private Sub Form_Click()
Dim a
Dim i As Integer
a = Array(1, 2, 3, 4, 5, 6, 7, 8, 9)
For i = 0 To 3
Print a(5 - i);
Next
End Sub
程序运行后,单击窗体,则在窗体上显示的是?
Option Base 0
Private Sub Form_Click()
Dim a
Dim i As Integer
a = Array(1, 2, 3, 4, 5, 6, 7, 8, 9)
For i = 0 To 3
Print a(5 - i);
Next
End Sub
程序运行后,单击窗体,则在窗体上显示的是?
- A、 6 5 4 3
- B、 5 4 3 2
- C、 4 3 2 1
- D、 7 6 5 4
参考答案: