Write a program to display all perfect numbers between 1 - 100
Here's another programming question I've asked in interviews to CS/IT Toppers in interviews when they tell me they are interested in Maths & Programming :
Write a program to display all perfect numbers between 1 - 100
Computer Language Choice: Whatever, doesn't matter. I'm happy even if you can come up with an algorithm.
PS: If you are interested in mathematics and don't know what Perfect Numbers are, you don't impress me.