在窗体上画一个名称为Command1的命令按钮,一个名称为Label1、Label2、Label3的标签,然后编写如下的事件过程:
Private x As Integer Private Sub Command1_Click()
Static y As Integer
Dim z As Integer
n = 10
z = n + z
y = y + z
x = x + z
Label1.Caption = x
Label2.Caption = y
Label3.Caption = z End Sub
运行程序后,连续三次单击命令按钮后,则三个标签中显示的内容分别是()
答案不对?请尝试站内搜索