Problem Statement : Subscribe Please : click here Subscribe Please : click here Write a program to take a integer number and check whether this number is perfect number or not . if number is perfect then print "Given number is Perfect number" else print "Given number is not Perfect number". A number whose sum of factors (excluding the number itself) is equal to the number is called a perfect number . In other words, if the sum of positive divisors (excluding the number itself) of a number equals the number itself is called a perfect number . Subscribe Please : click here Example : First, we find the factors of 496 i.e. 1, 2, 4, 8, 16, 31, 62, 124, and 248 . Let's find the sum of factors (1 + 2 + 4 + 8 + 16 + 31 + 62 + 124 +248 = 496 ). We observe that the sum of factors is equal to the number itself. Hence, the number 496 is a perfect number.
Hello everyone , This is a boy , Mintu Burnwal , a engineering student from information technology department. In this website , we will learn about basic knowledge to complete knowledge about the corporate world education and knowledge . So , people from any feild can able to learn from this website . stay tuned , keep learning friends and keep support . thank you !