Write a C program to find the number is an Abundant number or not:-
In this program to find a number is an Abundant number or not. A number n is said to be an Abundant Number to follow these condition
- the sum of its proper di
visors is greater than the number itself. - And the difference between these two values is called abundance.
Ex:- Abundant number 12 having a proper divisor is 1,2,3,4,6 the sum of these factors is 16 it is greater than 12 so it is an Abundant number.
Some other abundant numbers
18, 20, 24, 30, 36, 66, 70, 72, 78, 80, 84, 88, 90, 96, 100, 102, 104, 108, 112, 114, 120..
Comments
Post a Comment