need help please,

hello guys,
i have one homework that i need to present it immediately to my professor, i would like your help please :(
the question is :
A number is said to be perfect if the sum of its divisors (except for itself) is equal to itself. Example: 6 = 1 + 2 + 3. Write a program to compute all the perfect numbers in the range 1…1000. You should develop user defined function whose signature is written as bool isPerfectNumber(int n);
int main ()
// insert code here
Last edited on
Topic archived. No new replies allowed.