计算机二级在线答题

Visual Basic每日一练(2015-7-23):单击命令按钮时,下列程序的执行结果是PrivateSubCommand1_Cli

2015年07月23日来源:计算机二级考试 所有评论

每日一练:计算机二级考试Visual Basic每日一练(2015-7-23)
【单选题】单击命令按钮时,下列程序的执行结果是
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
End Function
Function SecProc(x As Integer, y As Integer, z As Integer)
SecProc=FirProc(z, x, y) +x
End Function
A) 20
B) 22
C) 28
D) 30

在下面提交答题后即可查看答案与考友试题分析

发布评论 查看全部评论

相关推荐