diff --git a/fibonacci.cpp b/fibonacci.cpp new file mode 100644 index 0000000..edd406e --- /dev/null +++ b/fibonacci.cpp @@ -0,0 +1,23 @@ +#include +using namespace std; +int func(int n){ +long double f=0; +long double s=1; + cout<2){ + long double t; + for(int i=3;i<=n;i++){ + t=f+s; + cout<<" "<>x; + func(x); + return 0; +}