[单项选择题] 执行以下程序段,如果在对话框中输入8,输出结果是"Hello"的是______。
A.n = InputBox("请输入一个数")Select Case nCase 7 To 1Print "Hello"End Select
B.n = InputBox("请输入一个数")Select Case nCase Is>1, Is < 6Print "Hello"End Select
C.n = InputBox("请输入一个数")Select Case nCase Is > 5, 1, 3 To 10Print "Hello"End Select
D.n=InputBox("请输入一个数")Select Case nCase 1, 5, Is > 9Print "Hello"End Select
正确答案:C
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)