```c
#include <stdio.h>
#include <stdlib.h>
int main()
{
int count,display=0,n,t1=1,t2=0;
printf("请输入数组长度:\n");
scanf("%d",&n);
count=1;
while(count<=n)
{
printf("%d ",display);
display=t1+t2;
t1=t2;
t2=display;
++count;
}
system("pause");
return 0;
}