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
In a switch statement, what will happen if a break statement is omitted?
What does static variable mean in c?
#include
What is calloc in c?
What are the features of c languages?
Write a program to implement queue.
What is the difference between array_name and &array_name?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
Explain why can’t constant values be used to define an array’s initial size?
How can I automatically locate a programs configuration files in the same directory as the executable?
What is ## preprocessor operator in c?
Explain how do you determine whether to use a stream function or a low-level function?
how do you programme Carrier Sense Multiple Access
how many key words availabel in c a) 28 b) 31 c) 32
What is the value of c?