Thread: What is perfect number

  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    6

    What is perfect number

    Hello sir,
    I am new one in c.
    What is perfect number.

    I need definition.

    I need simple example
    Thank u sir

  2. #2
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,005
    You need Google.
    You need Wikipedia.
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

  3. #3
    Registered User
    Join Date
    Nov 2006
    Posts
    65
    Ok edit I read up on the links....why would you ask a strict math question on a programming forums. I would assume that sure there people who could know the answer but you only going to get a link or a blunt answer if your looking for something ask a college professor/math teacher. Its one thing to just read a link and copy 6 (according to what I read quickly it is) but what is a perfect number...I have no idea and due to the fact your asking the question about it you probly dont know ether. So that brings me to the question as to why you want a perfect number/how could you know you needed it if you didnt know what it was. Perfect numbers are on the math side of things and has nothing specificly to do with C.
    Last edited by KoG Metalgod; 12-08-2006 at 07:13 AM.
    You rant and rave about it, but at the end of the day, it doesn't matter if people use it as long as you don't see.
    People are free to read the arguments, but if the only way for you to discover gravity is by jumping off a cliff, then that is what you're going to have to experience for yourself.
    Eventually, this "fast and loose" approach of yours will bite you one too many times, then you'll figure out the correct way to do things. - Salem

  4. #4
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    You also need Google
    You also need Wikipedia
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  5. #5
    aoeuhtns
    Join Date
    Jul 2005
    Posts
    581
    Um, KoG Metalgod, there are TONS of CS classes that have an assignment writing a function that tells if a number is perfect or not. Measured by weight, not volume.
    There are 10 types of people in this world, those who cringed when reading the beginning of this sentence and those who salivated to how superior they are for understanding something as simple as binary.

  6. #6
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    I was actually wondering if there was something like a perfect question.

    I know this question wasn't anywhere near that category.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Perfect number and divisors
    By Lissa in forum C Programming
    Replies: 31
    Last Post: 10-24-2008, 01:36 PM
  2. xor linked list
    By adramalech in forum C Programming
    Replies: 23
    Last Post: 10-14-2008, 10:13 AM
  3. Issue w/ Guess My Number Program
    By mkylman in forum C++ Programming
    Replies: 5
    Last Post: 08-23-2007, 01:31 AM
  4. Random number + guessing game trouble
    By Ravens'sWrath in forum C Programming
    Replies: 16
    Last Post: 05-08-2007, 03:33 AM
  5. Perfect number
    By TheSki in forum C++ Programming
    Replies: 2
    Last Post: 10-30-2001, 04:34 PM