+ 1
How to calculate sum of fibonacci series?
6 Antworten
+ 6
1. Make a function that calculates the Fibonacci numbers
2. Sum the numbers
Can you please tag the relevant programming language and link your code?
+ 5
You could make another variable int total = 0
Then, in each iteration of the loop you add total += sum.
+ 3
Kindly share your attempt so that we can change it appropriately!!!
Regards
+ 2
Thanks a lot!!
- 1
https://code.sololearn.com/ccT8QEuywfLr/?ref=app
Programming language is java