关于Select Case语句的说法中,错误的是()。Select Case...e语句块n+1]End Select
关于Select Case语句的说法中,错误的是()。Select Case...e语句块n+1]End Select
下列程序的运行结果为( )。 Private Sub Command1_Click() Score = Int(Rnd * 10) + 80 Select Case Score Case ls < 60 a$ = "E" Case 60 To 69 a$ = "D" Case 70 To 79 a$ = "C" Case 80 To 89 a$ = "B" Case Else a$ = "A" End Select Print a$ End Sub
下列程序的运行结果为( )。 Private Sub Command1_Click() Score = Int(Rnd * 10) + 80 Select Case Score Case ls < 60 a$ = "E" Case 60 To 69 a$ = "D" Case 70 To 79 a$ = "C" Case 80 To 89 a$ = "B" Case Else a$ = "A" End Select Print a$ End Sub
The case of noun are mainly ____________. A: accusative case B: dative case C: possessive case D: nominative case
The case of noun are mainly ____________. A: accusative case B: dative case C: possessive case D: nominative case
假设x是一个整数变量,要求判断x的值为1~4之间。Select语句形式如下,则Case表达式列表写法正确的是_____________。 Select Case x Case 表达式列表 A: Case 4>=x>=1 B: Case x>=1 and x<=4 C: Case Is>=1 and Is<=4 D: Case 4>=Is>=1 E: Case 1 to 4 F: Case 1,2,3,4
假设x是一个整数变量,要求判断x的值为1~4之间。Select语句形式如下,则Case表达式列表写法正确的是_____________。 Select Case x Case 表达式列表 A: Case 4>=x>=1 B: Case x>=1 and x<=4 C: Case Is>=1 and Is<=4 D: Case 4>=Is>=1 E: Case 1 to 4 F: Case 1,2,3,4
以下语句正确的是:______。 A: Select Case a B: Case C: b=1 D: Case “B” E: b=2 F: Case Else G: b=3 H: End Select I: Select Case a J: Case “A” K: b=1 L: Case “B” M: b=2 N: Case Default O: b=3 P: End Select Q: Switch a R: Case “A” S: b=1 T: Case “B” U: b=2 V: Case Else W: b=3 X: End Switch Y: Switch a Z: Case “A” [: b=1 \: Case “B” ]: b=2 ^: Case Default _: b=3 `: End Select
以下语句正确的是:______。 A: Select Case a B: Case C: b=1 D: Case “B” E: b=2 F: Case Else G: b=3 H: End Select I: Select Case a J: Case “A” K: b=1 L: Case “B” M: b=2 N: Case Default O: b=3 P: End Select Q: Switch a R: Case “A” S: b=1 T: Case “B” U: b=2 V: Case Else W: b=3 X: End Switch Y: Switch a Z: Case “A” [: b=1 \: Case “B” ]: b=2 ^: Case Default _: b=3 `: End Select
Take this with you________you get into trouble. A: in case B: in the case C: in case of D: in no case
Take this with you________you get into trouble. A: in case B: in the case C: in case of D: in no case
假设变量x、k都已定义,下列语句片段中,无语法错误的是( )。 A: switch(x){ case x>=90: putchar('A'); case x<60: putchar('E'); } B: switch(x) { case 1+2: k='A'; defualt: k='E'; case 2*4: k='B'; } C: switch(x){ case 2+x: k=x-2; case 3*x: k=x+3; default: k=0; } D: switch(x){ case 3.5: k=0.5*x; case 7.8: k=8*x; default: k=0; }
假设变量x、k都已定义,下列语句片段中,无语法错误的是( )。 A: switch(x){ case x>=90: putchar('A'); case x<60: putchar('E'); } B: switch(x) { case 1+2: k='A'; defualt: k='E'; case 2*4: k='B'; } C: switch(x){ case 2+x: k=x-2; case 3*x: k=x+3; default: k=0; } D: switch(x){ case 3.5: k=0.5*x; case 7.8: k=8*x; default: k=0; }
Be quiet ______ you wake the baby. A: in case of B: in any case C: in the case D: in case
Be quiet ______ you wake the baby. A: in case of B: in any case C: in the case D: in case
______ fire, ring the alarm bell. A: In the case of B: In any case C: In no case D: In case of
______ fire, ring the alarm bell. A: In the case of B: In any case C: In no case D: In case of
#include main()_ { char grade=’C’; switch(grade) { case ‘A’: printf(“90-100\n”); case ‘B’: printf(“80-90\n”); case ‘C’: printf(“70-80\n”); case ‘D’: printf(“60-70\n”); break; case ‘E’: printf(“<60\n”); default : printf(“error!\n”); } } 运行结果为( )
#include main()_ { char grade=’C’; switch(grade) { case ‘A’: printf(“90-100\n”); case ‘B’: printf(“80-90\n”); case ‘C’: printf(“70-80\n”); case ‘D’: printf(“60-70\n”); break; case ‘E’: printf(“<60\n”); default : printf(“error!\n”); } } 运行结果为( )