单选题 VB
题号 #152369

有如下事件过程,单击命令按钮扣,输出结果为 
Private Sub Command1_Click()  
Dim b%(1 To 4) , j%, t#  
For j=1 To 4  
b(j) =j  
Next j  
t=Tax(b() )  
Print "t="; t, 
End Sub 
Function Tax (a() As Integer)  
Dim t#, i%  
t=1  
For i=2 To UBound(A. 
t=t * a(i)  
Next i  
Tax=t  
End Function(  )。

进入在线模考

参考答案

B

答案解析

暂无解析

你可能感兴趣的试题

A.Private Sub Form_MouseDown(Button As Integer, Shift As Integer, _
X As Single, Y As Single)
If Button=2 Then PopupMenu Bt, 2
End Sub
B.Private Sub Form_MouseDown(Button As Integer, Shift As Integer, _
X As Single, Y As Single)
PopupMenu Bt
End Sub
C.Private Sub Form_MouseDown(Button As Integer, Shift As Integer, _
X As Single, Y As Single)
PopupMenu Bt,0
End Sub
D.Private Sub Form_MouseDown(Button As Integer, Shift As Integer, _
X As Single, Y As Single)
If (Button=vbLeftButton) Or (Button=vbRightButton) Then PopupMenu Bt
End Sub
找试题 · 找答案 · 找资料 在线模考