下列程序段的执行结果是【 】。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 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

下列程序段的执行结果是【 】。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 Print“优秀” Case 4 Print“良好” Case 3 Print“通过” Case Else Print“没有通过” End SelectA. 优秀B.良好C.通过D.没有通过

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

下列代码段执行后,a的值为()。 float x=2.4f; int a=0; switch((int) x) { case 1: a++; case 2: a+=2; case 3: a+=3; }A.3B.5C.6D.1

3、下列代码段执行后,a的值为()。 float x=2.4f; int a=0; switch((int) x) { case 1: a++; case 2: a+=2; case 3: a+=3; }A.3B.5C.6D.1

下列程序段的运行结果为()。 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.不确定,随机