[单项选择题] 在窗体上画一个名称为Commandl的命令按钮。有下列程序: Option Base 1 Private Sub Command1_Click()Dim aa=Array(45,2
17 查阅
[单项选择题] 在窗体上画一个名称为Commandl的命令按钮。有下列程序: Option Base 1 Private Sub Command1_Click()Dim aa=Array(45,27,34,24,91,37,11,67,82,63)For i = 1 To 9 For i = i + 1 To 10 If a(i)> a(j)Thena1 = a(i)a(i) = a(j)a(j) = a1 End If Next jNext iFor i = 1 To 10 Print a(i)Next i End Sub 程序运行后,单击命令按钮,则窗体上第2行和第3行显示的内容是
A.27和34
B.34和24
C.45和63
D.24和27
参考答案: