daily pastebin goal
68%
SHARE
TWEET

Untitled

a guest May 17th, 2018 104 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. static int fib(int n){
  2.     if (n <= 1)
  3.        return n;
  4.    
  5.     return fib(n-1) + fib(n-2);
  6. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top