标签:ar sp on c r bs as har return
int main(int argc, const char * argv[]) {
f(1,1,1000);
return 0;
}
void f(int a,int b,int n)
{
if (a<n)
{
printf("%d\n",a);
a=a+b;
f(b,a,n);
}
else
{
printf("stop\n");
}
}
标签:ar sp on c r bs as har return
原文地址:http://www.cnblogs.com/a514875560/p/3982223.html