daily pastebin goal
48%
SHARE
TWEET

Untitled

a guest May 17th, 2018 103 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
Top