A number that is smaller than the
sum of its factors excluding the highest factor is said to be an
abundant number.
example - Number 12
Sum of its factors excluding the highest factors = 1 + 2 + 3 + 4 + 6 = 16
WAP to print all abundant members in the range 1 to n (both inclusive) where n is to be accepted in the program. Print the output with the appropriate message
Answers
Answered by
2
Answer:
WO PHOTO MAI ANS HAI......... BHAU
Attachments:
Similar questions