下列程序段的执行结果为 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

下列程序段的执行结果为 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 Select

A.A

B.B

C.C

D.0


相关考题:

下列程序段的执行结果为m=1n=1Select Case mCase 1Select Case nCase 0Print "**0**"Case 1Print "**1**"End SelectCase 2Print "**2**"End Select( )。A.**0**B.**1**C.**2**D.0

有下列程序:includemain(){ int a=6,b=7,m=1;switch(a%2){ case 0:m++;break;case 1:m 有下列程序:#include<stdio.h>main(){ int a=6,b=7,m=1; switch(a%2) { case 0:m++;break; case 1:m++; switch(b%2) { defaut:m++; case0:m++;break; } } printf("%d\n",m);}程序运行后的输出结果是( )。A.1B.2C.3D.4

给出下列的程序段,m为何值时将会输出default? ( ) switch(m) { case 0: System.out.println("case 0"); case 1:System.out.println("case 1");break; case 2:System.out.println("case 2");break; default:System.out.println("default"); }A.0B.1C.2D.3

有下列程序:includemain(){int a=6,b=7,m=1; switch(a%2) {case0:m++;break;case 1=m+ 有下列程序: #include<stdio.h> main() { int a=6,b=7,m=1; switch(a%2) { case0:m++;break; case 1=m++; switch(b%2) { defaut:m++; case0:m++;break; } } printf("%d\n",m); } 程序运行后的输A.1B.2C.3D.4

下列程序段的执行结果为 m=1 n=1 Select Case m Case 1 Select Case n Case 0 Print" * * 0 * *" Case 1 Print" * *1* *" End Select Case 2 Print" * * 2 * *" End SelectA.**0**B.**1**C.**2**D.0

有以下程序:includemain(){int a=6,b=7,m=I;switch(a%2){case 0:m++;break;case 1:m++ 有以下程序: #include<stdio.h> main() {int a=6,b=7,m=I; switch(a%2) {case 0:m++;break; case 1:m++; switch(b%2) {defaut:m++; case 0:m++;break; } } printf("%d\n",m); } 程序运行后的输出结果是( )。A.1B.2C.3D.4

下列程序段的执行结果为 m=1 n=1 Select Case m Case 1 Select Case n Case 0 Print "* * 0 * *" Case 1 Print " * * 1 * * " End Select Case 2 print " * * 2 * * " End SelectA.* * 0 * *B.* * 1 * *C.* * 2 * *D.0

下列程序段的执行结果为 m=1 n=1 Select Case m Case 1 Select Case n Case 0 Print" * * 0 * *" Case 1 Print" * *.* *" End Select Case 2 Print"* *,2 * *," End SelectA.* * 0 * *B.* * 1 * *C.* * 2 * *D.0

下列程序段的输出结果是()。 int a=0; while(a<5){ switch(a){ case 0: case 3:a=a+2; case 1: case 2:a=a+3; default:a=a+5; } } System.out.print(a);A.0B.5C.10D.其他