网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

设int型变量a、b,float型变量x、y,char型变量ch均已正确定义并赋值,则正确的swith语句是( )。

A.switch (x+y) {...}

B.switch (ch+1) {...}

C.switch ch {...}

D.switck (a+b) {...}


参考答案

更多 “ 设int型变量a、b,float型变量x、y,char型变量ch均已正确定义并赋值,则正确的swith语句是( )。A.switch (x+y) {...}B.switch (ch+1) {...}C.switch ch {...}D.switck (a+b) {...} ” 相关考题
考题 设int型变量a、b,float型变量x、y,char型变量ch均已正确定义并赋值,正确的switch语句是_________。 A.switch(ch+1){......}B.switch(a+b){......}C.switch(x+y){......}D.switchch{......}

考题 设int型变量a、b,float型变量x、y,char型变量ch均已正确定义并赋值,正确的switch语句是( )。A.switch(x+y){……}B.switch(ch+1){……}C.switch ch{……}D.switch(a+b):{……}

考题 设int 型变量 a、b,float 型变量 x、y,char 型变量 ch 均已正确定义并赋值,正确的switch语句是()A.switch (x + y) { ...... }B.switch (ch + 1 ) { ...... }C.switch ch { ...... }D.switch (a + b ); { ...... }

考题 20、设a、b为long型变量,x、y为float型变量,ch为char类型变量且它们均已被赋值,则下列语句中正确的是A.switch(x+y) {}B.switch(ch+1) {}C.switch x {}D.switch(a+b); {}

考题 4、设int 型变量 a、b,float 型变量 x、y,char 型变量 ch 均已正确定义并赋值,正确的switch语句是()A.switch (x + y) { ...... }B.switch (ch + 1 ) { ...... }C.switch ch { ...... }D.switch (a + b ); { ...... }

考题 设a、b为long型变量,x、y为float型变量,ch为char类型变量且它们均已被赋值,则下列语句中正确的是A.switch(x+y) {}B.switch(ch+1) {}C.switch x {}D.switch(a+b); {}

考题 设a、b为long型变量,x、y为float型变量,ch为char类型变量,且它们均已赋值,则下列语句中正确的是:A.switch (x+y ) { }B.switch (ch+1 ) { }C.switch (a ) { }D.switch (a+b ) ; { }

考题 设a、b为long型变量,x、y为float型变量,ch为char类型变量,且它们均已赋值,则下列语句中正确的是:A.switch (a+b ) ; { }B.switch (a ) { }C.switch (x+y ) { }D.switch (ch+1 ) { }

考题 2、设int 型变量 a、b,float 型变量 x、y,char 型变量 ch 均已正确定义并赋值,正确的switch语句是()。A.switch (x + y) { ...... }B.switch (ch + 1 ) { ...... }C.switch ch { ...... }D.switch (a + b ); { ...... }