A perfect number is a positive integer such that the sum of the proper divisors equals the number. Thus, 28 = 1 + 2 + 4 + 7 + 14 is a perfect number. If the sum of the divisors is less than the number, it is deficient. If the sum exceeds the number, it is abundant. 1. Write a program that allows the user to enter a positive integer and then displays the result indicating whether the number entered is perfect, deficient, or abundant. 2. Write another program that will print all the perfect numbers that can be computed on your computer. Submit source code and screen outputs.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Complete ownership and distribution copyrights to all work purchased.
Win Xp, MS Visual C++