有如下VB程序段: Dim a(1 to 5) as Integer, i as Integer, c as Integer a(1) = 2 : a(2) = 1 : a(3) = 3 : a(4) = 4 : a(5) = 5 c = 0 For i = 3 to 5 If a(i - 2) + a(i - 1) = a(i) Then c = c + 1 Next i Text1.Text = Str(c) 该程序运行后,文本框text1中显示的内容是( )
A . 1
B . 2
C . 3
D . 4
答案:B