You can also get the test program using the commands:
cp /home/cheung/teaching/web/170/Projects/hw5/Handouts/*.java ~/cs170/hw5
The last command will make the directoy "~/cs170/hw5" as the current directory.
In the remainder of the homework description, I will assume that you have saved these file in your ~/cs170/hw5 directory.
I will explain below what a "perfect number" is...
A proper divisor of a number n is a number between 1 and n-1 that divides n.
NOTE: Your program will NOT compile if the method isPerfect() is NOT a class (static) method
6 28 496 8128
BTW, the next perfect number is 33550336 !
/home/cs170001/turnin ~/cs170/hw5/Perfect.java hw5