find out all the perfect numbers between 1 and n.
ex.
factors of 28 are={1,2,4,7,14}
1+2+4+7+14=28
hence 28 is a perfect number.
test case: n=50
output: 1
6
28 Run It Now!
java program in menu driven fashion to
(a) to find factorial of a number
(b) to find Fibonacci series
(c) to check the inputted string is palindrome or not. Run It Now!