1.

An abundant number is a number for which the sum of its proper divisors(excluding number itself) is greater than the original number.Write a program to input a number and check whether it's an abundant number or not. Sample input:12 Sample output: It's proper divisors are 1,2,3,4,6 Sum= 1+2+3+4+6=16 Hence 12 is an abundant number Guys plz solve this

Answer»

tion:In an abundant NUMBER, the sum of its proper divisors (i.e., including 1 but excluding the number itself) is GREATER than the number; in a DEFICIENT number, the sum of its proper divisors is less than the number. Please mark me as BRAINLIEST if it helps and follow me and I will ALSO follow you back



Discussion

No Comment Found