Check whether a given number is perfect number or not

  
Your score is:       
Copy paste the above completed code in below IDE and run