单选题64. A in this case B in any case C in no case D in some casesAABBCCDD
单选题
64. A in this case B in any case C in no case D in some cases
A
A
B
B
C
C
D
D
参考解析
解析:
相关考题:
若有定义 : float x=1.5; int a=1,b=3,c=2; 则正确的 switch 语句是A)switch(x){ case 1.0: printf("*\n");case 2.0: printf("**\n");}B)switch((int)x);{ case 1: printf("*\n");case 2: printf("**\n");}C)switch(a+b){ case 1: printf("*\n");case 2+1: printf("**\n");}D)switch(a+b){ case 1: printf("*\n");case c: printf("**\n");}
以下Case语句中错误的是()。A.Case 0 To 10B.Case Is>10C.Casels>10 And Is10 以下Case语句中错误的是( )。A.Case 0 To 10B.Case Is>10C.Casels>10 And Is<50D.Case3,5,Is>10
有如下程序: infocase$=InputBox("Inputoneletter:") Select Case infocase$ case"a" grade$="Verygood" case"b" grade$="Good" case"C" grade$="OK" case"d" grade$="Qualified" case Else grade$="Bab" End SelectA.Very goodB.GoodC.BadD.Qualified
下列程序段的执行结果是( )。 a = 1: b = 0 Select Case a Case 1 Select Case b Case 0 Print "**0**" Case 1 Print "**1**" End Select Case 2 Print "**2**" End Select A. **0**B. **1**C. **2**D. 0
以下程序的运行结果是( )。main()(int a=2,b=7,c=5;switch(a>0){case 1:switch(b<0){case 1:switch(");break;case 2:printf("!");break;}case 0:switch(c==5){case 0:printf("*");break;case 1:printf("");break;case 2:printf("$");break;}default:printf ("&");}printf("\n");}
若有以下定义:float x;int a,b; 则错误的switch语句是________。 A. switch(x){case 1.0:printf("*\n"); case 2.0:printf("*\n"); }B. switch(a){case 1:printf("*\n");case 2:printf("*\n"); }C. switch(a+b) {case 1:printf("*\n"); case 1+2:printf("*\n"); }D. switch(a+b);{case 1:printf("*\n");case 2:printf("*\n"); }
若a,b,c1,c2,x,y均是整型变量,正确的switch语句是______。A.switch(a+b); {case 1:y=a+b;break; case 0:y=a-b;break; }B.switch(a*a+b*b) {case 3; case 1:y=a+b;break; case 3:y=b-a;break; }C.switch a {case c1:y=a-b;break; case c2;x=a*b;break; default:x=a+b; }D.switch(a-b) {default:y=a*b;break; case 3:case 4:x=a+b;break; case 10:case11:y=a-b;break; }
下列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
下列程序段的执行结果为 m=1 n=1 Select Case m Case 1 Select Case n Case 0 print"A" Case 1 Print"B" End Select Case 2 Print"C" End SelectA.AB.BC.CD.0
若a、b、c1、c2、x、y均是整型变量,则正确的switch语句是______。A.swich(a+b); { case 1:y=a+b;break; case 0:y=a-b;break; } case 3:y=b-a, break;B.switch(a*a+b*b) { case 3: case 1:y=a+b;break; }C.switch a { case c1:y=a-b;break; case c2:x=a*d;break; default:x=a+b; }D.switch(a-b) { default:y=a*b;break; case 3:case 4:x=a+b;break; case 10:case 11:y=a-b;break; }
下列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
若有定义float x=1.5;int a=1,b=3,c=2;,则正确的switch语句是A.swimh(x) {case 1.0:printf("*\n"); case 2.0:printf("**\n");}B.switch((int)x); {case 1:printf("*\n"); case 2:printf("**\n");}C.switch(a+D. {case 1:pfintf("*\n"); case 2+1:pfintf("**\n");}switch(a-I-{case 1:pfintf("*\n"); case c:printf("**\n");}
以下语句正确的是:______。A.Select Case a Case b=1 Case “B” b=2 Case Else b=3 End SelectB.Select Case a Case “A” b=1 Case “B” b=2 Case Default b=3 End SelectC.Switch a Case “A” b=1 Case “B” b=2 Case Else b=3 End SwitchD.Switch a Case “A” b=1 Case “B” b=2 Case Default b=3 End Select
下列程序段的输出结果是【】。int n=c; switch(n++) {default:printf(errorc;switch(n++){default:printf(error);break;case a:case A:case b:case B:printf(good);break;case c:caseC:printf(pass);case d:caseD:printf(warn);}
Free Radio Pratique will be granted by the Port Health Office in the following case ______ .A.Vessel with a case or suspected case of infectious disease on boardB.Vessel with a dead body on boardC.Vessel which has visited plague-infected ports during the current voyageD.Cargo vessel which hasn't called at any plague infected ports during the current voyage and on which there is not any case of infectious disease,or any dead body
______ during the voyage any case or suspected case of plague,cholera,yellow fever,smallpox,typhus or relapsing fever?A.Has there beenB.Have there beenC.Has thereD.Have there
单选题Free Radio Pratique will be granted by the Port Health Office in the following case () .AVessel with a case or suspected case of infectious disease on boardBVessel with a dead body on boardCVessel which has visited plague-infected ports during the current voyageDCargo vessel which hasn't called at any plague infected ports during the current voyage and on which there is not any case of infectious disease,or any dead body
单选题()any case or suspected case of quarantinable disease,or any case of eruptive disease or any death be discovered,the local quarantine officer must be notified immediately.AIfBShallCShouldDWhether
单选题()during the voyage any case or suspected case of plague,cholera,yellow fever,smallpox,typhus or relapsing fever?AHas there beenBHave there beenCHas thereDHave there
单选题The dam was built along the river _____ floods.Ain any caseBin case ofCin no caseDin case