单项选择题

假定有以下程序段
n=0
for i=1 to 3
for j=-3 to 1
n=n+1
next j
next i
运行完毕后,n的值是( )。

A.3
B.4
C.12
D.15