【单选题】窗体上有 Command1 、 Command2 两个命令按钮。现编写以下程序: Option Base 0 Dim a () As Integer, m As Integer Private Sub Command1_Click () m = InputBox ( " 请输入一个正整数 " ) ReDim a ( m ) End Sub Private Sub Command2_Click (...
【单选题】窗体上有 Command1 、 Command2 两个命令按钮。现编写以下程序: Option Base 0 Dim a( ) As Integer, m As Integer Private Sub Command1_Click( ) m=InputBox(" 请输入一个正整数 ") ReDim a(m) End Sub Private Sub Command2_Click( ) m=Input...
【简答题】窗体上有 Command1 、 Command2 两个命令按钮。现编写以下程序: Option Base
0 Dim a() As
Integer, m As Integer Private Sub
Command1_Click() m =
InputBox(" 请输入一个 ") ReDim a(m) End Sub Private Sub
Command2_Click() m =
Inpu...
【单选题】窗体上有两个Command1、Command2命令按钮,现在有以下程序: Option Base 0 Dim a( ) As Integer, m As Integer Private Sub Command1_Click() m = InputBox("请输入一个正整数") ReDim a(m) End Sub Private Sub Command2_Click() m = InputBox(...