your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW)
Can anyone plz tell me how to write pseudocode for printing a fibonacci series for a user entered value.
Plz tell me how to write this pseudocode in simple english....
Join the QuestionCove community and study together with friends!
Fibonacci is easy, how are u going about it, by matrix? or perhaps recursion ?
Fibonacci = 0,1,1,2,3,5,8,13 ...
Fib(n) = Fib(n-1) + Fib(n-2)
for finding nth fibonacci
return (Number == 1) ? 1 : FuncFib(Number - 1) + FuncFib(Number - 2);
Can't find your answer?
Make a FREE account and ask your own questions, OR help others and earn volunteer hours!
Join our real-time social learning platform and learn together with your friends!
17 seconds ago
4 minutes ago