下列程序段的执行结果是______。 i=0 For j = 10 To 19 Step 3 i=i+1 Next j Print I
A: 4
B: 5
C: 3
D: 6
A: 4
B: 5
C: 3
D: 6
举一反三
- 下列程序段的执行结果为 _______。 Dim a(3, 5) As Integer Dim i As Integer, j As Integer For i = 1 To 3 For j = 1 To 5 a(i, j) = a(i - 1, j - 1) + (i - 1) * 5 + j Next j Next i Print a(3, 4)
- 以下程序段中语句 Print i*j 执行的次数是。 For i=1 to 3 For j=5 to 1 step -1 Print i*j Next j,i
- 下列程序段的执行结果为【 】。 K=0 For J=1 To2 For I = 1 To 3 K=I+1 Next I For I=1 To7 K=K+I Next I Next J Print K
- 执行下列程序段后,输出结果是 n = 0 For i=1 To 3 For j=5 To 1 Step -1 n = n + 1 Next j, i Debug.Print n; j; i
- 下列程序段的执行结果为_______。 M=0 For I=1 To 3 For J =5 To 1 Step-1 N = N+1 Next J,I Print N;J;I