Computer Science, asked by bhardwajneetu753, 4 months ago

write a menu driven class to accept a number from the user and check whether it is Palindrome or a Perfect num
1. Palindrome number: A number is a Palindrome which when read in reverse order is same as read in the right
Example: 11. 101. 151. etc.
2. Perfect number: A number is called Perfect if it is equal to the sum of its factors other than the number itself
Example: 6 = 1+2+3

Answers

Answered by mihikasandeshpatil
0

Answer:

1+2+3 = 6

Explanation:

as it so simple so you should slove it by yourself

Similar questions