Fibonacci数列表达式:
F[n]=F[n-1]+F[n-2](n>=3,F[1]=1,F[2]=1)
#include <iostream>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
template<typename T>
class Fibonacci{
public: