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)

4th Nov 2022, 5:34 PM
đŸŒ»EmĂ ĂąĂąĂąđŸŒ»
đŸŒ»EmĂ ĂąĂąĂąđŸŒ» - avatar
4 Respostas
+ 3
Your try?
4th Nov 2022, 6:24 PM
Jayakrishna 🇼🇳
+ 1
Do you know what's perfect number?
4th Nov 2022, 6:10 PM
Binx
Binx - avatar
+ 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
4th Nov 2022, 6:34 PM
Binx
Binx - avatar
0
perfect number, a positive integer that is equal to the sum of its proper divisors for example (6=1+2+3)
4th Nov 2022, 6:15 PM
đŸŒ»EmĂ ĂąĂąĂąđŸŒ»
đŸŒ»EmĂ ĂąĂąĂąđŸŒ» - avatar