Skip to content

Commit

Permalink
added return staements
Browse files Browse the repository at this point in the history
  • Loading branch information
kvedala committed Jun 6, 2020
1 parent accd53c commit a74eab9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions project_euler/problem_23/sol2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit a74eab9

Please sign in to comment.