To answer your question I can. In fact I already did last year sometime.
However I think what you are asking is who will write a program for you and the answer to that is noone on this site.
I do not know if this is homework, although I suspect so as the applications of perfect numbers are not terribly great.
Do you know the definition of a perfect number? Do you know how you would test a number to see if it was perfect can you do it on paper?
Once you have a method on paper then try to turn it into a C function.
Once you have a function then build a program round it that tests all numbers in the range 1  1000.
