# C program to check whether number is Perfect Number or not

**Perfect Number** - *A perfect number is a positive integer number which is equals to the sum of it's proper positive divisors excluding the number itself*. For example 6 is a perfect number because it’s proper divisors are 1, 2, 3 and it’s sum is equals to 6.

In this program we will **read an integer number and check whether it is Perfect Number or not**. To check perfect number we have to find all divisors of that number and find their sum, if sum of divisors is equal to number it means number is Perfect Number.

## Check Perfect Number using C program

## Using

User Define Function

need an explanation for this answer? contact us directly to get an explanation for this answerOutput: