dim asss(34) as long
asss(0)=1
asss(1)=1
for i=2 to 34
asss(i)=asss(i-1)+asss(i-2)
next
print asss(34)
结果是9227465
这里注意一下数组是从0开始的,所以第35项是asss(34)
dim asss(34) as long
asss(0)=1
asss(1)=1
for i=2 to 34
asss(i)=asss(i-1)+asss(i-2)
next
print asss(34)
结果是9227465
这里注意一下数组是从0开始的,所以第35项是asss(34)