执行?MOD(10,-3)的显示结果为()。A、1B、0C、-1D、一2
执行?MOD(10,-3)的显示结果为()。
- A、1
- B、0
- C、-1
- D、一2
相关考题:
执行下列程序,输入数字3,则输出结果为______。Private Sub Command1_Click()a=inputBox("Input a Number")If a>5 ThenGoTo L5Else If a>2 ThenGoTo L2ElseGoTo L3End IfExit SubL5:Print a Mod 5Exit SubL3:Print a Mod 3Exit SubL2:Print a Mod 2End Sub
单击命令按钮,下列程序的执行结果为Private Sub Command1_Click()Dim x As Integer, y As Integerx=32: y=42Call PCS(x, y)Print x; yEnd SubPublic Sub PCS(Byval n As Integer, ByVal m As Integer)n=n Mod 10+1m=m Mod 10+1End Sub ( )。A.32 42B.2 32C.2 3D.12 3
单击命令按钮时,下列的执行结果为Private Sub Command1_Click()Dim x As Integer, y As Integerx=86: y=29Call Proc(x, y)Print x; yEnd SubPublic Sub Proc(n As Integer, ByVal m As Integer)n=n Mod 10m=m Mod 10End Sub( )。A.12 32B.6 29C.2 3D.12 3
( 27 )下面程序执行时,在窗体上显示的是Private Sub Command1_Click()Dim a(10)For k = 1 To 10a(k) = 11 – kNext kPrint a(a(3)\a(7) Mod a(5))End SubA ) 3B ) 5C ) 7D )9
下面程序执行时,在窗体上显示的是。Private Sub Commandl_ClickDim a(10)For k=1 TO 10a(k)=11-kNext kPrinta(a(3)\a(7)Mod a(5))End SubA.3B.5C.7D.9
单选题下面程序执行时在窗体上显示的是()。 Private Sub Command1_Click() Dim a(10) For k=1 to 10 a(k)=11-k Next k Print a(a(3)/a(7)Mod a(5)) End SubA3B5C7D9
单选题执行PRINT 9.4/3.7,9.4MOD3.7命令后,输出()结果为A2;1B3;0C2;20D1;2