这个可以了
#include<stdio.h>
void main()
{
long int f1=1,f2=1,sum=0,i;
for(i=1;i<=15;i++)
{
printf("%12ld %12ld",f1,f2);
if(i%2==0)printf("\n");
sum=sum+f1+f2;
f1=f1+f2;
f2=f2+f1;
}
printf("\n");
printf("sum=%ld\n",sum);
}
#include<stdio.h>
void main()
{
long int f1=1,f2=1,sum=0,i;
for(i=1;i<=15;i++)
{
printf("%12ld %12ld",f1,f2);
if(i%2==0)printf("\n");
sum=sum+f1+f2;
f1=f1+f2;
f2=f2+f1;
}
printf("\n");
printf("sum=%ld\n",sum);
}