单击命令按钮时,下列程序的执行结果是( )。
Private Sub Command1_Click( )
Dim a As Integer,b As Integer,C As Integer
a=3
b=4
c=5
Print SecProc(c,b,a)
End Sub
Function FirProc (x As Integer,y As Integer,z As Integer)
FirProc=2 * x + y + 3 * z+2
End Function
Function SecProc (x As Integer,y As hteger,z As Integer)
SecProc=FirProc(z,x,y)+x+7
End Function
题库:计算机等级考试
类型:最佳选择题
时间:2017-07-03 16:55:14
免费下载:《单选题》Word试卷
单击命令按钮时,下列程序的执行结果是( )。
Private Sub Command1_Click( )
Dim a As Integer,b As Integer,C As Integer
a=3
b=4
c=5
Print SecProc(c,b,a)
End Sub
Function FirProc (x As Integer,y As Integer,z As Integer)
FirProc=2 * x + y + 3 * z+2
End Function
Function SecProc (x As Integer,y As hteger,z As Integer)
SecProc=FirProc(z,x,y)+x+7
End Function
A.20
B.25
C.37
D.32
本题关键词:出门按钮,控制按钮,救助呼叫按钮,行为结果,命令型,按钮联锁式装置,按钮式保护装置,按钮式防护装置,命令标志,快捷命令;