naveen

naveen

  • NA
  • 54
  • 77.7k

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

Sep 22 2010 11:07 AM
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)