下列程序段的执行结果是( )。 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
下列程序段的执行结果是( )。 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
相关考题:
下列程序段的执行结果为a=2b=0Select Case aCase 1Select Case bCase 0Print "**0**"Case 1Print "**1**"End SelectCase 2Print "**2**"End Select( )。A.**0**B.**1**C.**2**D.0
下列程序段的执行结果为a=1b=0Select Case aCase 1Select Case bCase 0Print "* *0* *"Case 1Print "* *1* *"End SelectCase 2Print "* *2* *"End Select ( )。A.* *0* *B.* * 1* *C.* *2* *D.0
下列程序段的执行结果为 a=2 b=0 Select Case a Case 1 Select Case b Case 0 Print " * * 0 * *" Case 1 Print" * * 1 * *" End selec Case 2 Print " * * 2 * *" End SelectA.* * 0 * *B.* * 1 * *C.* * 2 * *D.0
下列程序段的执行结果为a=1b=0Select Case a Case 1 Select Case b Case 0 Print"**0**" Case 1 Print"**1**" End SelectCase 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.20
1、下列输出结果是() 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.其他
下列输出结果是() 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.其他
下列程序段的输出结果是()。 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.其他
下列程序的输出结果是 for(int i=0;i<5;i++){ switch(i){ case 0:System.out.print("B"); case 1:System.out.print("e");break; case 2:System.out.print("g"); case 3:System.out.print("!");break; case 4:System.out.print("!");break; default:System.out.print("!"); } }A.Beg!!!B.Beeg!C.Beg!D.Beeg!!!