以下程序段运行后,Label1.Text结果是_________。Label1.Text = ""For i = 1 To 6 If i Mod 2 = 0 Then Label1.Text = i EndifNext
A: 6
B: 135
C: 246
D: 123456
E: 24
A: 6
B: 135
C: 246
D: 123456
E: 24
举一反三
- 以下程序段运行后,Label1.Text结果是_________。Label1.Text = ""For i = 1 To 6 If i Mod 2 = 0 Then Label1.Text = i EndifNext A: 6 B: 135 C: 246 D: 123456 E: 24
- 以下程序段执行后,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