Hello sir,
I am new one in c.
What is perfect number.
I need definition.
I need simple example
Thank u sir
Hello sir,
I am new one in c.
What is perfect number.
I need definition.
I need simple example
Thank u sir
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
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.
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.
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.