在窗体上画一个名称为Commandl的命令按钮,然后编写如下程序: Private Sub Command1_Click() Static x As Integer Stati cy As Integer y=1 y=y+5 x=x+5 Printx;y End Sub 程序运行时,三次单击命令按钮Commandl后,窗体上显示的结果为()
- A、1516
- B、156
- C、1515
- D、56
正确答案:B
答案解析:有

微信扫一扫手机做题
在窗体上画一个名称为Commandl的命令按钮,然后编写如下程序: Private Sub Command1_Click() Static x As Integer Stati cy As Integer y=1 y=y+5 x=x+5 Printx;y End Sub 程序运行时,三次单击命令按钮Commandl后,窗体上显示的结果为()
微信扫一扫手机做题