This question already has an answer here:
- Fibonacci function or sequence 224 answers
Your goal is to calculate the sum of Fibonacci series from n th term to m th term (including both terms).
- No use of
/ * %or mathematically what they are in your language of choice.
- No use of special functions or code language specialized in doing so !
- You have to produce the series yourself and not by any special function or code language.
#1 0 5 series : 1 1 2 3 5 8 sum : 20 #2 2 5 series : 2 3 5 8 sum : 18
Best of luck :]