mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-03 18:46:50 +08:00
Update math/magic_number.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
* @param n number to be checked.
|
||||
* @return if number is a magic number, returns true, else false.
|
||||
*/
|
||||
|
||||
bool magic_number(int n) {
|
||||
if (n <= 0) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user