Perfect number and divisors

This is a discussion on Perfect number and divisors within the C Programming forums, part of the General Programming Boards category; If there was latex support on the forums, perhaps I would understand the algorithm you are using better. Lol.... seriously ...

  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>.

Page 3 of 3 FirstFirst 123
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, 06:11 PM
  2. Prime number program problem
    By Guti14 in forum C Programming
    Replies: 11
    Last Post: 08-06-2004, 05: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, 12:09 PM
  5. Homework help
    By Jigsaw in forum C++ Programming
    Replies: 2
    Last Post: 03-06-2002, 05:56 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21