Perfect Number in C

Here you will get program for perfect number in C.

Perfect number is a positive number which is equal to the sum of all its divisors excluding itself.

For example:

28 is a perfect number as 1 + 2 + 4 + 7 + 14 = 28.

15 is not perfect number as 1 + 3 + 5 is not equal to 15.


Below I have shared a program to check whether a number is a perfect number or not.


Program for Perfect Number in C



Perfect Number in C

Leave a Comment

Your email address will not be published. Required fields are marked *