0

# Using loops write an Algorithm that Determines whether a number is a Perfect number or not.

perfect number,Â a positive integer that is equal to the sum of its proper divisors for example (6 =1+2+3)

4 Answers

+ 3

Your try?

+ 1

Do you know what's perfect number?

+ 1

ðŸŒ»EmÃ Ã¢Ã¢Ã¢ðŸŒ»
Cool now try to make a algorithm which is able to find out all the divisors except the number.
Hint:
Use a looping algorithm such that the loop starts with 1 and ends at n-1.
where n is the number

0

perfect number,Â a positive integer that is equal to the sum of its proper divisors for example (6=1+2+3)