Write a program to find if the given number is abundant number. A number is abundant if sum of the proper factors of the number is greater than the number.
Input (int) |
Output (boolean) |
12 |
Factors = 1 + 2 + 3 + 4 + 6 = 16 16 > 12 true |
19 |
false |
78 |
true |
92 |
false |