This Question has been **Answered**

Featured Replies

- 1
@tesu: The algorithm is correct. Its just that the first tw0 terms of the series must be printed separately. fibo(18) is 2584 iff fibo(0) = 0. So what you are printing as your first term should be the 2nd term (ie fibo(2) if we take the first term as fibo(0)). … Read More

This question has already been answered. Start a new discussion instead.

Recommended Topics