C program to check whether a number is perfect number or not
Example Input Input any number: 6 Output 6 is PERFECT NUMBER Perfect number is a positive integer which is equal to the sum of its proper positive divisors.For example: 6 is the first perfect numberProper divisors of 6 are 1, 2, 3Sum of its proper divisors = 1 + 2 + 3 = 6.Hence 6 is…
Read More “C program to check whether a number is perfect number or not” »