下列程序段的执行结果是【 】。x=Int (Rnd+4)Select Case XCase 5Prunt "优秀"Case 4Print "良好"Case 3Print "合格"Case ElsePrint "不合格"End Select

下列程序段的执行结果是【 】。

x=Int (Rnd+4)

Select Case X

Case 5

Prunt "优秀"

Case 4

Print "良好"

Case 3

Print "合格"

Case Else

Print "不合格"

End Select


相关考题:

下面程序段执行结果为x=Int(Rnd() +4)Select Case xCase 5Print "excellent"Case 4Print "good"Case 3Print "pass"Case ElsePrint "fail"End SelectA.excellentB.goodC.passD.fall

以下程序段的运行结果是( )。 include main() {int x=2,y=1: switch(x) {case 1: switch 以下程序段的运行结果是( )。 include<stdio.h> main() {int x=2,y=1: switch(x) {case 1: switch(y) {case 0:printf("x=2,y=1\n");break; case 1:printf("y=1\n");break; } case 2:printf("x=2\n"); } }

下列程序段的执行结果是【 】。x=Int(Rnd+4)Select Case XCase 5Print"优秀"Case 4Print"良好"Case 3Print"合格"Case ElsePrint"不合格"End Select

下列程序段的执行结果为______。 x=Int (Rnd+4) Select Case x Case 5 Print“优秀” Case 4 Print“良好” Case 3 Print“通过” Case Else Print“没有通过” End SelectA. 优秀B.良好C.通过D.没有通过

下面程序段执行结果为( )。 x=Int(Rnd()+4) Select Case x Case 5 Print"excellent" Case4 Print"good" Case 3 Print"pass" Case Else Print"fail" End SelectA.excellentB.goodC.passD.fail

若int x=10; 执行下列程序后,变量x的正确结果是 。 switch (x ) { case 9: x++; case 10: x++; case 11: x++; break; default: x++; }A.10B.11C.12D.13

下列程序段的运行结果为()。 Dim x x = Int(Rnd) + 5 Select Case x Case 5 Print "优秀" Case 4 Print "良好" Case 3 Print "及格" Case Else Print "不及格" End SelectA.不及格B.良好C.及格D.优秀

下列程序段的执行结果是()。 Dim x As Integer x = 6 Select Case x Case 5 Print "优秀" Case 4 Print "良好" Case 3 Print "通过" Case Else Print "不通过" End SelectA.优秀B.良好C.通过D.不通过

8、下面程序段,显示的结果是 。 Dim x% x = Int(Rnd) + 5 Select Case x Case 5 MsgBox("优秀") Case 4 MsgBox("良好") Case 3 MsgBox("通过") Case Else MsgBox("不通过") End SelectA.优秀B.良好C.通过D.不通过E.不确定,随机