Update math/magic_number.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Neha Hasija
2020-10-21 23:06:37 +05:30
committed by GitHub
parent a19da79545
commit 388ee00985

View File

@@ -19,6 +19,11 @@
#include <cassert> /// for assert
#include <iostream> /// for io operations
/**
* @namespace math
* @brief Mathematical algorithms
*/
namespace math {
/**
* Function to check if the given number is magic number or not.
* @param n number to be checked.