你可能感兴趣的试题
Select Case a Case b=1 Case “B” b=2 Case Else b=3 End Select Select Case a Case “A” b=1 Case “B” b=2 Case Default b=3 End Select Switch a Case “A” b=1 Case “B” b=2 Case Else b=3 End Switch Switch a Case “A” b=1 Case “B” b=2 Case Default b=3 End Select
Case 0 To 10 Case Is>10 Case Is>10 And Is<50 Case 3,5,Is>10
switch( {case 1.0:printf("*"); case 2.0:printf("**"); } switch( {case 1,2:printf("*"); case 3:printf("**"); } switch(a+ {case 1:printf(""); case 1+2:printf("**"); } switch(a+; {case 1:printf("*"); case 2:printf("**"); }
Case 0 To 10 Case Is>10 Case Is>10 And Is<50 Case 3.5,Is>10
Case 0 To 10 Case Is>10 Case Is>10 And Is<50 Case3,5,Is>10
switch(x) switch(x) case1.0:cout<<"*"; case 1.2:cout<<"*"; case2.0:cout<<"**"; case 3:cout<<"**"; C. switch(a+b) D. switch(a+b) case 1.0:cout<<"*"; case 1:cout<<"*"; case 1+2:cout<<"** "; case 2:cout<<"**";
switch(x) switch(x)
{ {
case1.0:cout<<"*"; case 1.2:cout<<"*";
case2.0:cout<<"**"; case 3:cout<<"**";
}
C. switch(a+b) D. switch(a+b)
{ {
case 1.0:cout<<"*"; case 1:cout<<"*";
case 1+2:cout<<"** "; case 2:cout<<"**";
passwarn passerror goodpasswarn pass
Case 0 TO 10 Case Is>10 Case Is>10 And Is<50 Case 3,5,Is>10
Case 0 To8 Case Is > 5 Case Is > 0 And Is < 6 Case 1, 3, Is > 5
switch( {case 1.0:printf("*"); case 2.0:printf("**");} switch((in; {case 1:printf("*"); case 2:printf("**");} switch(a+ {case 1:printf("*"); case 2+1:printf("**");} switch(a+ {case 1:printf("*"); case c:printf("**");}
swimh( {case 1.0:printf("*"); case 2.0:printf("**");} switch((in; {case 1:printf("*"); case 2:printf("**");} switch(a+ {case 1:pfintf("*"); case 2+1:pfintf("**");} switch(a-I- {case 1:pfintf("*"); case c:printf("**");}