mirror of
https://github.com/TheAlgorithms/C
synced 2025-02-10 10:34:30 +03:00
added return staements
This commit is contained in:
parent
accd53c12f
commit
a74eab90d7
@ -26,10 +26,9 @@ long MAX_N = 28123; /**< Limit of numbers to check */
|
||||
char *abundant_flags = NULL;
|
||||
|
||||
/**
|
||||
* Returns:
|
||||
* -1 if N is deficient
|
||||
* 1 if N is abundant
|
||||
* 0 if N is perfect
|
||||
* \returns -1 if N is deficient
|
||||
* \returns 1 if N is abundant
|
||||
* \returns 0 if N is perfect
|
||||
**/
|
||||
char get_perfect_number(unsigned long N)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user