#include <iostream>
long F(long n);
int main(){ long number = 10,s = 0; s = F(number); std::cout << "第"<< number << "个斐波那契数是" << s << "\n"; return 0;
}
long F(long n){ if(n == 1 || n ==2 ) return 1; else return F(n-1)+F(n-2);
}
#include <iostream>
long F(int n);
int main(){ int number; long s; cout<<"请输入一个正整数"; cin>>number; s = F(number); cout << "第"<< number << "个斐波那契数是" << s << "\n"; return 0;
}