第1题:
运行下列程序: 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
第2题:
有如下程序: 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
第3题:
if 结构中,以下用法正确的是()
A.if (2<i<=3) i end
B.if y>x elseif y<x else y==x end
C.if (x<10) { y=x+1; }
D.if x>0 y=sin(x); else y=cos(x); end
第4题:
有如下程序 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
第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.-7
B.-9
C.-8
D.-10