Text) Select Case x Case Is 200 y="x200" Case Is A. x200B. -102C. 302D. 400
Text) Select Case x Case Is < -100, Is > 200 y="x<-100 or x>200" Case Is < 0 y = 100 - x Case Is <= 100 y = 100 + x Case Is <= 200 y = 400 End Select Text 2.Text = y
A. x<-100 or x>200
B. -102
C. 302
D. 400
相关考题:
2、执行下面程序段之后,x和y的值分别是: int x=1,y=1,m=1,n=1; switch(m) { case 0: x=x*2; case 1: { switch(n) { case 1: x=x*2; case 2: y=y*2; break; case 3: x++; } } case 2: x++; y++; case 3: x*=2; y*=2; break; default: x++; y++; }A.x=6,y=6B.x=2,y=1C.x=2,y=2D.x=7,y=7
下列语句序列执行后,k 的值是()。 int x = 6, y = 10, k = 5; switch (x % y) { case 0: k = x * y; case 6: k = x / y; case 12: k = x - y; default: k = x * y - x; }A.0B.5C.54D.60
下列语句序列执行后,k的值是()。 Int x=6,y=10,k=5; switch(x%y){ case0: k=x*y; case6: k=x/y; case12:k=x-y; default:k=x*y-x; }A.60B.5C.0D.54
下列语句序列执行后,k 的值是()。 int x = 6, y = 10, k = 5; switch (x % y) { case 0: k = x * y; case 6: k = x / y; case 12: k = x - y; default: k = x * y - x; }A.60B.5C.0D.54
2、下列语句序列执行后,k的值是()。 Int x=6,y=10,k=5; switch(x%y){ case0: k=x*y; case6: k=x/y; case12:k=x-y; default:k=x*y-x; }A.60B.5C.0D.54
3、下列语句序列执行后,k 的值是() int x = 6, y = 10, k = 5; switch (x % y) { case 0: k = x * y; case 6: k = x / y; case 12: k = x - y; default: k = x * y - x; }A.60B.5C.0D.54
有如下程序段: int x =1, y=1 ; int m , n; m=n=1; switch (m) { case 0 : x=x*2; case 1: { switch (n) { case 1 : x=x*2; case 2 : y=y*2;break; case 3 : x++; } } case 2 : x++;y++; case 3 : x*=2;y*=2;break; default:x++;y++; } 执行完成后,x和y 的值分别为()。A.x=6 y=6B.x=2 y=1C.x=2 y=2D.x=7 y=7
下列语句序列执行后,k 的值是() int x = 6, y = 10, k = 5; switch (x % y) { case 0: k = x * y; case 6: k = x / y; case 12: k = x - y; default: k = x * y - x; }A.60B.5C.0D.54
2、下列语句序列执行后,k 的值是()。 int x = 6, y = 10, k = 5; switch (x % y) { case 0: k = x * y; case 6: k = x / y; case 12: k = x - y; default: k = x * y - x; }A.60B.5C.0D.54
执行完下面的程序段后,k的值是 int x = 6, y = 10, k = 5; switch (x % y) { case 0: k = x * y; case 6: k = x / y; case 12: k = x - y; default: k = x * y - x; }