write a c program to calculate sum of the perfect numbers within a given number of range. using function.
Input the starting range or number : 1
Input the ending range of number : 50
The Perfect numbers within the given range : 6 28