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
Can a pointer be volatile in c?
Suggesting that there can be 62 seconds in a minute?
Explain what is output redirection?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
What is the use of a conditional inclusion statement in C?
write a program to print data of 5 five students with structures?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
How would you obtain the current time and difference between two times?
Without Computer networks, Computers will be half the use. Comment.
What is array of pointers to string?
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
What is multidimensional arrays
What does main () mean in c?
What are keywords c?
Should a function contain a return statement if it does not return a value?