Do it using C Language. So, I will check your answer in my Borland C. I will pick the best answer for the fastest and the right answer. Better fasten your seat belt !?
Find the Perfect Number.
Sample Number : 28
The factorial from 28 is : 1,2,4,7,14
If you multiple the factorial, you will get back the sample Number :
1+2+4+7+14 = 28.
That's called Perfect Number.
Sample input :
6
28
Sample output :
1,2,3
1,2,4,7,14
2006-10-04
03:07:21
·
7 answers
·
asked by
Rabbit-X
2
in
Computers & Internet
➔ Programming & Design