单击命令按钮执行下列程序,其输出结果是()。Private Sub Command1_Click()Dim a As Integer,b As
15 查阅
单击命令按钮执行下列程序,其输出结果是( )。
Private Sub Command1_Click()
Dim a As Integer,b As Integer,c As Integer
a=3
b=4
c=5
Prim 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
参考答案: