rijads

Untitled

Jun 11th, 2012
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. int fib (int num) {
  2. if (num == 0)
  3. return 0;
  4. else if (num == 1)
  5. return 1;
  6. else
  7. return fib(num-1);
  8. }
Advertisement
Add Comment
Please, Sign In to add comment