Created
September 25, 2022 18:10
-
-
Save Prajwalprakash3722/9f49eb73185b66900a26b5cc4a983e53 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int fibbonacci(int n) | |
| { | |
| if(n == 0) | |
| return 0; | |
| else if(n == 1) | |
| return 1; | |
| else | |
| return (fibbonacci(n-1) + fibbonacci(n-2)); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment