[单项选择题] 设有如下的程序段: n=0 For i = 1 To 3 For j = 1 To iFor k = j To 3 n=n+1Next k Next j Next i 执行上
12 查阅
[单项选择题] 设有如下的程序段:
n=0
For i = 1 To 3
For j = 1 To i
For k = j To 3
n=n+1
Next k
Next j
Next i
执行上面的程序段后,n的值为( )。
A. 3
B. 21
C. 9
D. 14
参考答案: