Jessica's JavaScriptmas Challenge

9. Sum Odd Fibonacci Numbers


Odd numbers starting from the beginning of the Fibonacci sequence to equal or less than your inputted number will be summed.

Example: If you input 10, your result will be 10 (1 + 1 + 3 + 5).





Fibonacci Sequence: e.g. 1,1,2,3,5,8


Odd Fibonacci Numbers: e.g. 1,1,3,5


Sum of Odd Numbers: e.g. 10