斐波那契数列
#include <stdio.h>
int main(){
long fib1=1,fib2=1;
for(int i=1;i<=15;i++)
{
printf("%12d%12d",fib1,fib2);
if(i%2==0)
printf("\n");
fib1=fib1+fib2;
fib2=fib1+fib2;
}
return 0;
}
标签:int,fib1,fib2,printf,打卡,main From: https://www.cnblogs.com/0608lin/p/17329863.html