Link to home
Start Free TrialLog in
Avatar of myaspnet
myaspnetFlag for Saudi Arabia

asked on

how calculate this method Fn = Fn-1 + Fn-2

how calc  Recursion method that takes an integer value and returns the summation of all numbers
Fn = Fn-1 + Fn-2
For example: F(10) = 0,1,1,2,3,5,8,13,21,34
Summation = 88
ASKER CERTIFIED SOLUTION
Avatar of myaspnet
myaspnet
Flag of Saudi Arabia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kaufmed
I see that you made a new question for your homework problem. You do realize it is not permissible for us to do your homework for you, right?

Since you apparently don't understand what recursion is, why don't you ask that instead of asking us to do your work for you?

http://www.cprogramming.com/tutorial/lesson16.html
Avatar of myaspnet

ASKER

ok