PU-MET : Panjab University MBA Entrance Exam with MCQ Answers 2014

Practice Mode:
67.

Assume the following pseudo code for the Fibonacci series, what is the value of the Fibonacci number when n = 6? fib(O. = O;fib(1.= 1;fib(n. =fib(n - 1. +fib(n - 2.

A: 8
B: 13
C: 21
D: 34

The answer is: A