单项选择题

下列程序段的执行结果是(  )。DIME a(8)a(1)=1a(2)=1for i=3 to 8a(i)=a(i-1)+a(i-2)next?a(7)

A.5
B.8
C.13
D.21