what is answer for perfect number????????????????
Answer / 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 |
write a program in c to read array check element is present or not?
how to find out the reverse number of a digit if it is input through the keyboard?
What is a function simple definition?
enum DAY { sunday, monday, tuesday }; enum EDAYS { friday, saturday, sunday }; void main() { int i =0; if( i == sunday) { printf("%d",i); } } what would be the output?
What is difference between %d and %i in c?
How do I access command-line arguments?
how to add numbers without using arithmetic operators.
what is the answer for it main() { int i; clrscr(); printf("%d",&i)+1; scanf("%d",i)-1; }
Why #include is used in c language?
Design a program using an array that searches a number if it is found on the list of the given input numbers and locate its exact location in the list.
What is the difference between malloc() and calloc()?
what are the advantages of a macro over a function?