Prime b

Prime b

  • NA
  • 810
  • 345k

Loop problem help plz!

Jan 5 2012 2:54 PM
So this problem is just ridiculous, i tried and tried and all it was is pointless, i just cant solve it

Write a console-based application that displays every
perfect number from 1 through 1000. A number is perfect
if it equals the sum of all the smaller positive integers that
divide evenly into it. For example, 6 is perfect because
1, 2, and 3 divide evenly into it and their sum is 6

Answers (3)