Thread: Perfect number and divisors

  1. #31
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    If there was latex support on the forums, perhaps I would understand the algorithm you are using better. Lol.... seriously though, I will be back shortly. I am not sure how your algorithm even correctly determines if a number is perfect, to be perfectly honest. Perfect numbers are rare anyway, so its not like it comes up very often.

  2. #32
    Registered User
    Join Date
    Oct 2008
    Posts
    28
    um im actually done with this prog of displaying divisors. if you want i can show u the final piece of code that works well. now i got a problem with the second i sent u, i cant actually use arrays as i told u, i think the pblm is with the braces, because C-free doesnt even consider my loops while executing and only displays enter, the range of.. and continue<Y/N>.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Perfect Numbers C Program
    By SlayerBlade in forum C Programming
    Replies: 2
    Last Post: 08-28-2005, 05:11 PM
  2. Prime number program problem
    By Guti14 in forum C Programming
    Replies: 11
    Last Post: 08-06-2004, 04:25 AM
  3. Replies: 3
    Last Post: 01-14-2003, 10:34 PM
  4. Perfect Number Problem
    By TrazPFloyd in forum C++ Programming
    Replies: 21
    Last Post: 10-20-2002, 11:09 AM
  5. Homework help
    By Jigsaw in forum C++ Programming
    Replies: 2
    Last Post: 03-06-2002, 05:56 PM