TheAlgorithms / C-Plus-Plus

Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
https://thealgorithms.github.io/C-Plus-Plus
MIT License
30.03k stars 7.1k forks source link

Update fibonacci_sum.cpp #2609

Closed utkarshbhola closed 9 months ago

utkarshbhola commented 11 months ago

changed the matrix addition function for easier readability and added a new test case where n =20 and m =30 to calculate the Fibonacci numbers from the 20th Fibonacci number (F(20)) to the 30th Fibonacci number (F(30)).This test case illustrates the capability of your fiboSum function to handle a more significant range of Fibonacci numbers and provides a meaningful result.

Description of Change

Checklist

Notes:

github-actions[bot] commented 10 months ago

This pull request has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 9 months ago

Please ping one of the maintainers once you commit the changes requested or make improvements on the code. If this is not the case and you need some help, feel free to ask for help in our Gitter channel or our Discord server. Thank you for your contributions!