Guest User

Untitled

a guest
Nov 20th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. /*
  2. * Please checkout previous revisions if you want to see full code.
  3. */
  4. int Fib(int n, int a, int b) {
  5. if (n == 0) {
  6. return a;
  7. }
  8. else {
  9. return Fib(n-1, b, a + b);
  10. }
  11. }
Add Comment
Please, Sign In to add comment