|
-
February 20th, 2004, 07:40 AM
#4
That's a good start!
For a recent discussion of how to find all the factors of a given integer, follow this thread:
http://www.antionline.com/showthread...hreadid=253049
Then instead of displaying the factors, store them in an array, and check to see if the sum is equal to the integer.
Peace always,
<jdenny>
Always listen to experts. They\'ll tell you what can\'t be done and why. Then go and do it. -- Robert Heinlein
I\'m basically a very lazy person who likes to get credit for things other people actually do. -- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|