更多"单击命令按钮时,下列程序的执行结果为 Private Sub Com"的相关试题:
[单项选择]单击命令按钮时,下列程序的执行结果是
Private Sub Commandl_Click( )
Dim a As Integer,b As Integer,c As Integer
a=3:b=4:c=5
Print SecProc(c,b,
[单项选择]单击命令按钮时,下列程序的执行结果是( )。
Private Sub Commandl_Click( )
BT 4
End Sub
PriVate Sub BT(x As Integer)
X=X * 2 + 1
If x <6 Then
Call BT(x)
End If
X=x * 2
Print x;
End Sub
[单项选择]单击命令按钮时,下列程序的执行结果是 Private Sub Command1_Click( ) BT4 End Sub Private Sub BT(x As Integer) x=x * 2 + 1 If x<6 Then Call BT(x) End If x=X * 2 Print x; End Sub
A. 15
B. 16
C. 17
D. 18
[单项选择]单击命令按钮时,下列程序的执行结果为( )。
Private Sub Command1 Click( )
Dim x As Integer,y As Integer
x=12:y=32
Call PCS(x,y)
Print x;y
End Sub
Public Sub PCS(ByVal n As Integer,ByVal m As Integer)
n=n Mod 10
m=m Mod 10
End Sub
A. 1232
B. 232
C. 23
D. 123
[单项选择]单击命令按钮时,下列程序的执行结果为( )。 Private Sub Commandl_Click( ) Dimx As Integer,y As Integer x=12: y=32 CallPCS(x,y) PrintX;y End Sub PubUc Sub PCS(ByValn As Integer,ByValm As Integer) n=nMod 10 m=mMod 10 End Sub
A. 1232
B. 232
C. 23
D. 123
[单项选择]单击命令按钮时,下列程序的执行结果是
Private Sub Command1_Click( )
Dim a As Integer,b As Integer,c As Integer
a=3
b=4
c=5
Print SecProc(c,b,