added return staements

This commit is contained in:
Krishna Vedala 2020-06-06 17:10:17 -04:00
parent accd53c12f
commit a74eab90d7
No known key found for this signature in database
GPG Key ID: BA19ACF8FC8792F7

View File

@ -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)
{