diff --git a/Basic/Calculate Nth Fibonacci Number/SolutionByBavleen.cpp b/Basic/Calculate Nth Fibonacci Number/SolutionByBavleen.cpp new file mode 100644 index 000000000..20621f142 --- /dev/null +++ b/Basic/Calculate Nth Fibonacci Number/SolutionByBavleen.cpp @@ -0,0 +1,25 @@ +#include +using namespace std; + +int main() { + int num; + cout<<"For Fibonacci"; + cout<<"\nEnter the number: "; + cin>> num; + + int a = 0; + int b = 1; + int c; + + cout<