下面程序段执行结果为x=Int(Rnd()+4)Select Case x Case 5 Print"excellent" Case4 Print"good
下面程序段执行结果为 x=Int(Rnd()+4) Select Case x Case 5 Print"excellent" Case4 Print"good" Case 3 Print"pass" Case Else Print"fail" End Select
A.excellent
B.good
C.pass
D.fall
下面程序段执行结果为 x=Int(Rnd()+4) Select Case x Case 5 Print"excellent" Case4 Print"good" Case 3 Print"pass" Case Else Print"fail" End Select
A.excellent
B.good
C.pass
D.fall
Private Sub Commandl_Click()
Dim x As Integer
x=InputBox("请输入x的值")
Select Case x
Case 1,2,4,6
Debug.Print"A"
Case 5,7 To 9
Debug.Print"B"
Case Is=10
Debug.Print"C"
CaSe ElSe
Debug.Print"D"
End Select
End Sub
程序执行后单击命令按钮,在弹出的输入框中输入8,则立即窗口上显示( )。
A.A B.B C.C D.D
A、72
B、22
C、6
D、7
A、1
B、2
C、0
D、3
A、22
B、42
C、32
D、52
Sub YN()
Dim x As Integer
x=InputBox("请输入年号")
If (x Mod 4=0 【10】 x Mod 100 $amp; Print "是闰年"
Else
Print "不是闰年,是普通年份"
End If
End Sub
A、1
B、4
C、8
D、20
A、
B、
C、
D、
A、60
B、100
C、150
D、180
A、3
B、9
C、4
D、12
A、Open "D:\StuScore.txt" For Output As #1
B、Open "D:\StuScore.txt" For Append As #1
C、Open "D:\StuScore.txt" For Input As #1
D、Open D:\StuScore.txt For Append As #1
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!