Finding Fibonacci sequence in C#. [Project Euler Exercise]

后端 未结 9 2290
后悔当初
后悔当初 2021-02-06 19:22

I\'m having some trouble with this problem in Project Euler.

Here\'s what the question asks:

Each new term in the Fibonacci sequence is generated by adding t

9条回答
  •  再見小時候
    2021-02-06 19:57

    I think the question is written to say that you would add all the even numbers together while the numbers in the sequence don't exceed four million, meaning you would add 3,999,992.

提交回复
热议问题