Topic: Language Problem / Level: intermediate

Problem: Write a program to check if a number is a perfect number by calculating the sum of its divisors.

Run the code to see the output here...