运行下列程序: x=InputBox("input value of x") Select Case X Case Is>0 y=y+1 Case Is=0 y=x+2 Case ELse y=x+3 End Select Print x;y 运行时,从键盘输入-5,输出的结果是( )。A.-7B.-9C.-8D.-10
运行下列程序: x=InputBox("input value of x") Select Case X Case Is>0 y=y+1 Case Is=0 y=x+2 Case ELse y=x+3 End Select Print x;y 运行时,从键盘输入-5,输出的结果是( )。
A.-7
B.-9
C.-8
D.-10
相关考题:
下列Case语句中错误的是()。A.Case0 To 10B.Case Is>10C.Case Is>10And Is10 下列Case语句中错误的是( )。A.Case0 To 10B.Case Is>10C.Case Is>10And Is<50D.Case 3,51s>10
下列Case语句中错误的是()。A.Case 0 To 10B.Case Is>10C.Case Is>10 And Is10 下列Case语句中错误的是( )。A.Case 0 To 10B.Case Is>10C.Case Is>10 And Is<50D.Case 3,5 Is>10
运行下列程序: x=Input Box("input value Of x”) Select Case x Case IsO y=y+1 Case Is=0 y=x+2 Case Else y=x+3 End Select Print x;y 运行时,从键盘输入-5,输出的结果是( )。A.-7B.-9C.-8D.-10
下列Case语句中错误的是()。A.Case 0 To 10B.Case Is>10C.Case Is>10 And Is10 下列Case语句中错误的是( )。A.Case 0 To 10B.Case Is>10C.Case Is>10 And Is<50D.Case 3.5,Is>10
以下Case语句中错误的是A.Case 0 To 8B.Case Is>5C.Case Is>0 And Is5 以下Case语句中错误的是A.Case 0 To 8B.Case Is>5C.Case Is>0 And Is<6D.Case 1,3,Is>5
有如下程序 x=InputBox("input value of x") Select Case x Case Is>0 y=y+1 Case Is=0 y=x+2 Case Else y=x+3 End Select Print x ;y 运行时,从键盘输入-5,输出的结果是( )。A.-7B.-9C.-8D.-10
有如下程序: x = InputBox("Input value of x") Select Case x Case Is > 0 y=y+1 Case Is = 0 y=x + 2 Case Else y=x + 3 End Select Print x, y运行时,从键盘输入-5,输出的结果是( )。A.-7B.-9C.-8D.-10
若有如下程序: main() { int k,x=0,y=0; for(k=0;k<=2;k++) switch(k) { case 0: X++; case 1: y++; case 2: X++;y++; } printf("%d,"d\n",x,y); } 则程序运行后的输出结果是( )。A.3,3B.2,2C.4,5D.2,3
运行下列程序: x = InputBox( "input value of x" ) Select Case x Case Is > 0 y=y+1 Case Is = 0 y=x+2 Case Else y=x+3 End Select Print x; y运行时,从键盘输入-5,输出的结果是( )。A.-7B.-9C.-8D.-10