Answer Posted / david uwihoreye
Perfect number is a positive number which sum of all
positive divisors excluding that number is equal to that
number. For example 6 is perfect number since divisor of 6
are 1, 2 and 3. Sum of its divisor is
1 + 2+ 3 =6
Note: 6 is the smallest perfect number.
Next perfect number is 28 since 1+ 2 + 4 + 7 + 14 = 28
Some more perfect numbers: 496, 8128
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Is it better to use a macro or a function?
Explain what is meant by 'bit masking'?
Why is C language being considered a middle level language?
What are the application of c?
What is an example of structure?
What are the 3 types of structures?
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
What is variable declaration and definition in c?
a c code by using memory allocation for add ,multiply of sprase matrixes
Disadvantages of C language.
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
What is the use of a semicolon (;) at the end of every program statement?
What are the header files used in c language?
Define Array of pointers.
Is swift based on c?