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 Antworten
+ 3
Your try?
4th Nov 2022, 6:24 PM
Jayakrishna 🇮🇳
+ 1
Do you know what's perfect number?
4th Nov 2022, 6:10 PM
Just Some Random Guy
Just Some Random Guy - 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
Just Some Random Guy
Just Some Random Guy - 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