单选题
下列程序的执行结果为( )。
n=0
j=1
Do Until n>2
n=n+1
j=j+n*(n+1)
Loop
Print n;j
A、
0 1
B、
3 7
C、
3 21
D、
3 13
【正确答案】
C
【答案解析】
提交答案
关闭