【单选题】在窗体上画一个命令按钮,名称为Command1,然后编写如下程序:Private Sub Command1_ Click()Dim a As Integer, b As Integerdo while b <100 b=b+5 a=a+ b if b >20 then exit doLoopPrint a, bEnd Sub程序运行后,如果甲击命令按钮,则在窗体上显示的内容是______。
【单选题】在窗体上画一个命令按钮,名称为Command1。 Private Sub Command1 Click() Dim x As Integer,y As Integer x=10:y:0 Do x=x+2:y=y+x Print 'x=', x; 'y=',y If y>20 Then Exit Do Loop Until x=18 End Sub 程序运行后,如果单击命令按钮,则在窗体上显示的内容...
【单选题】在窗体上画一个命令按钮,名称为 Command1 ,然后编写如下事件过程: Option Base 0 Private Sub Command1_Click() Dim city As Variant city = Array(" 北京 "," 上海 "," 天津 "," 重庆 ") Print city(1) End Sub 程序运行后,如果单击命令按钮,则在窗体上显示的内容是 ______ 。