3
Answers

C# Program that outputs all perfect numbers less than 1000 ?

Ask a question
naveen

naveen

14y
4.8k
1
Hi all,

C# Program that outputs all perfect numbers less than 1000.

The Proper divisors of a positive integer 'n' are those integers,excluding 'n' itself,that divide 'n' exactly.
For Example : Proper divisor of 12 are 1,2,3,4 and 6.

A perfect number is the Positive Integer that is equal to Sum of its proper divisors.
For Example : 6 is a perfect number because 6 = 1 + 2 + 3 .

Can any one help on this issue ?

Thanks in advance

Naveen...

Answers (3)