A program to check whether a number is an Abundant number or not is discussed here. An abundant number is a number for which the sum of its proper divisors is greater than the number itself.
Input & Output format:
Sample input:
12
Sample Output:
Abundant Number
Explanation:
The divisors of 12 are 1, 2, 3, 4 and 6.
The sum of divisors of 12 is 16.
12 < 16. Hence, 12 is an abundant number.
@@coding::1@@
Recommended Programs