以下程序段实现的输出是()。for(i=0;i<;=9;i++)s[i]=i;for(i=9;i>;=0;i--)printf("%2d",s[i]);[/i][/i] A: 9 7 5 3 1 B: 1 3 5 7 9 C: 9 8 7 6 5 4 3 2 1 0 D: 0 1 2 3 4 5 6 7 8 9
以下程序段实现的输出是()。for(i=0;i<;=9;i++)s[i]=i;for(i=9;i>;=0;i--)printf("%2d",s[i]);[/i][/i] A: 9 7 5 3 1 B: 1 3 5 7 9 C: 9 8 7 6 5 4 3 2 1 0 D: 0 1 2 3 4 5 6 7 8 9
以下程序段执行后,Label1.Text结果是________。Label1.Text=""For i = 7 To 1 Step -1 If i Mod 3 = 0 Then Exit For Label1.Text &= i & " "Next A: 7 6 B: 7 C: 7 5 4 2 1 D: 6 3
以下程序段执行后,Label1.Text结果是________。Label1.Text=""For i = 7 To 1 Step -1 If i Mod 3 = 0 Then Exit For Label1.Text &= i & " "Next A: 7 6 B: 7 C: 7 5 4 2 1 D: 6 3
以下程序段执行后,Label1.Text结果是________。Label1.Text=""For i = 7 To 1 Step -1 If i Mod 3 = 0 Then Exit For Label1.Text &= i & " "Next A: 7 6 B: 7 C: 7 5 4 2 1 D: 6 3
以下程序段执行后,Label1.Text结果是________。Label1.Text=""For i = 7 To 1 Step -1 If i Mod 3 = 0 Then Exit For Label1.Text &= i & " "Next A: 7 6 B: 7 C: 7 5 4 2 1 D: 6 3
以下程序段执行后,Label1.Text结果是________。Label1.Text=""For i = 7 To 1 Step -1 If i Mod 3 = 0 Then Exit For Label1.Text &= i & " "Next A: 7 6 B: 7 C: 7 5 4 2 1 D: 6 3
以下程序段执行后,Label1.Text结果是________。Label1.Text=""For i = 7 To 1 Step -1 If i Mod 3 = 0 Then Exit For Label1.Text &= i & " "Next A: 7 6 B: 7 C: 7 5 4 2 1 D: 6 3
以下程序段执行后,Label1.Text结果是________。Label1.Text=""For i = 7 To 1 Step -1 If i Mod 3 = 0 Then Exit For Label1.Text &= i & " "Next A: 7 6 B: 7 C: 7 5 4 2 1 D: 6 3
以下程序段执行后,Label1.Text结果是________。Label1.Text=""For i = 7 To 1 Step -1 If i Mod 3 = 0 Then Exit For Label1.Text &= i & " "Next A: 7 6 B: 7 C: 7 5 4 2 1 D: 6 3
以下程序段执行后,Label1.Text结果是________。Label1.Text=""For i = 7 To 1 Step -1 If i Mod 3 = 0 Then Exit For Label1.Text &= i & " "Next A: 7 6 B: 7 C: 7 5 4 2 1 D: 6 3
以下程序段执行后,Label1.Text结果是________。Label1.Text=""For i = 7 To 1 Step -1 If i Mod 3 = 0 Then Exit For Label1.Text &= i & " "Next A: 7 6 B: 7 C: 7 5 4 2 1 D: 6 3
以下程序段执行后,Label1.Text结果是________。Label1.Text=""For i = 7 To 1 Step -1 If i Mod 3 = 0 Then Exit For Label1.Text &= i & " "Next A: 7 6 B: 7 C: 7 5 4 2 1 D: 6 3
以下程序段执行后,Label1.Text结果是________。Label1.Text=""For i = 7 To 1 Step -1 If i Mod 3 = 0 Then Exit For Label1.Text &= i & " "Next A: 7 6 B: 7 C: 7 5 4 2 1 D: 6 3
以下程序段执行后,Label1.Text结果是________。Label1.Text=""For i = 7 To 1 Step -1 If i Mod 3 = 0 Then Exit For Label1.Text &= i & " "Next A: 7 6 B: 7 C: 7 5 4 2 1 D: 6 3
以下程序段执行后,Label1.Text结果是________。Label1.Text=""For i = 7 To 1 Step -1 If i Mod 3 = 0 Then Exit For Label1.Text &= i & " "Next A: 7 6 B: 7 C: 7 5 4 2 1 D: 6 3
以下程序段执行后,Label1.Text结果是________。Label1.Text=""For i = 7 To 1 Step -1 If i Mod 3 = 0 Then Exit For Label1.Text &= i & " "Next A: 7 6 B: 7 C: 7 5 4 2 1 D: 6 3
以下程序段执行后,Label1.Text结果是________。Label1.Text=""For i = 7 To 1 Step -1 If i Mod 3 = 0 Then Exit For Label1.Text &= i & " "Next A: 7 6 B: 7 C: 7 5 4 2 1 D: 6 3
下列代码哪行会出错: 1) public void modify() { 2) int I, j, k; 3) I = 100; 4) while ( I > 0 ) { 5) j = I * 2; 6) System.out.println (” The value of j is ” + j );7) k = k + 1; 8) I–; 9) } 10) } A: 4 B: 6 C: 7 D: 8
下列代码哪行会出错: 1) public void modify() { 2) int I, j, k; 3) I = 100; 4) while ( I > 0 ) { 5) j = I * 2; 6) System.out.println (” The value of j is ” + j );7) k = k + 1; 8) I–; 9) } 10) } A: 4 B: 6 C: 7 D: 8