#include<stdio.h>
int fb(int a)
{
if(a<=1)
return 1;
else
return fb(a-1
函数习题(5):递归方法完成Fibonacci数列前n项
最新推荐文章于 2023-11-22 21:14:02 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
#include<stdio.h>
int fb(int a)
{
if(a<=1)
return 1;
else
return fb(a-1