mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-06 04:53:30 +08:00
Update math/n_bonacci.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
* In this code we take N and M as input where M is the number of terms
|
||||
* to be printed of the N-bonacci series
|
||||
*
|
||||
* @author [Swastika Gupta](https://github.com/swastyy)
|
||||
* @author [Swastika Gupta](https://github.com/Swastyy)
|
||||
*/
|
||||
#include <algorithm> /// for std::is_equal, std::swap
|
||||
#include <cassert> /// for assert
|
||||
@@ -95,4 +95,4 @@ static void test() {
|
||||
int main() {
|
||||
test(); // run self-test implementations
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user