bool isPerfect(int n)
Include a clear and concise contract for function isPerfect. Write the contract before you write the function.
Test your solution. Don't try to print more than the first four perfect numbers, since the fifth one is quite large.
Turn in a printed copy of your program. Be sure that your name and the assignment number are in comments at the top of the program. Also, be sure to include a comment near the top of the program telling what the program does.