第4章例4-11

#include<stdio.h>
int main(void)
{
	int i,x1,x2,x;

	x1 = 1;
	x2 = 1;
	printf("%6d%6d",x1,x2);
	for(i = 1;i<=8;i++){
		x=x1 + x2;
		printf("%6d",x);
		x1 = x2;
		x2 = x;
	}
	printf("
");

	return 0;
}
原文地址:https://www.cnblogs.com/huangsilinlana/p/3350442.html