在窗体上画一个命令按钮(名称为Command1),并编写如下代码:
Function Fun1(ByVal a As Integer, b As Integer) As Integer
Dim t As Integer
t=a-b:b=t+a:Fun1=t+b
End Function
Private Sub Command1_Click( )
Dim x As Integer
x=10
Print Fun1(Fun1(x, (Funl(x,x-1))),x-1)
End Sub
程序运行后,单击命令按钮,输出结果是

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

在窗体上画一个命令按钮(名称为Command1),并编写如下代码:
Function Fun1(ByVal a As Integer, b As Integer) As Integer
Dim t As Integer
t=a-b:b=t+a:Fun1=t+b
End Function
Private Sub Command1_Click( )
Dim x As Integer
x=10
Print Fun1(Fun1(x, (Funl(x,x-1))),x-1)
End Sub
程序运行后,单击命令按钮,输出结果是
A.10
C.11
D.21

在窗体上画一个命令按钮(名称为Command1),并编写如下代码:  Function Fun1(ByVal a As Integer, b As Intege

本题关键词:出门按钮,控制按钮,A基因编码,上下并行,救助呼叫按钮,编码体系,命令型,按钮联锁式装置,按钮式保护装置,按钮式防护装置;

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