【单选题】在窗体上有一个Command1命令按钮,然后编写如下事件:Option Base 0Private Sub Command1_Click()Dim a(4) As Integer, b(4) As IntegerFor k = 0 To 2 a(1) = InputBox("请输入一个整数") b(3 - k) = a(k + 1) Next k Print b(k)End Sub运行程序时,单击...
【单选题】在窗体上画一个命令按钮,名称为Command1,然后编写如下代码: Option Base 0 Private Sub Commandl_Click() Dim A(4) As Integer,B(4) As Integer For k=0 T0 2 a(k +1) =InputBox(”请输入一个整数:”) a(3 -k) =A(k+l) Next k Print B(k) End Sub 程序...
【单选题】在窗体上有一个命令按钮 Command1 ,并编写如下代码: Option Base 0 Private Sub Command1_Click() Dim A(4) As Integer,B(4) As Integer For k=0 To 2 A(k+1)=InputBox(“ 请输入一个整数 ”) B(3-k)=A(k+1) Next k Print B(k) End Sub 程序运行后,单击...