[单项选择题] 阅读下面的程序段: For a=1 To 2 For b=1 To a For c=b To 2 i=i+1 Next Next Next Print i 执行上面的
19 查阅
[单项选择题] 阅读下面的程序段:
For a=1 To 2
For b=1 To a
For c=b To 2
i=i+1
Next
Next
Next
Print i
执行上面的3重循环后,i的值为
A) 4 B) 5 C) 6 D) 9
A. 4
B. 5
C. 6
D. 9
参考答案: