在窗体上画一个命令按钮,名称为Command1。然后编写如下程序:
Private Sub Command1_Click( )
Dim a As Integer,b As Integer,c As Integer
If a=0 Then
x=x-1
Else
If b<>0 Then
End If
End If
If c<>0 Then
x=3
Else
x=4
End If
Print x
End Sub
程序运行后,单击命令按钮,其输出结果为 ______。

题库:计算机等级考试 类型:最佳选择题 时间:2017-07-03 15:44:37 免费下载:《单项选择》Word试卷

在窗体上画一个命令按钮,名称为Command1。然后编写如下程序:
Private Sub Command1_Click( )
Dim a As Integer,b As Integer,c As Integer
If a=0 Then
x=x-1
Else
If b<>0 Then
End If
End If
If c<>0 Then
x=3
Else
x=4
End If
Print x
End Sub
程序运行后,单击命令按钮,其输出结果为 ______。
A.34
B.4
C.35
D.3

在窗体上画一个命令按钮,名称为Command1。然后编写如下程序:  Private Sub Command1_Click( )    Dim a As Int

本题关键词:出门按钮,控制按钮,救助呼叫按钮,编制程序,命令型,按钮联锁式装置,按钮式保护装置,按钮式防护装置,命令标志,快捷命令;

微信扫码获取答案解析
下载APP查看答案解析