English, asked by chowdary39, 3 months ago

Given a number, reverse it and add it to itself unless it becomes a palindrome or
the count becomes 5 times. If it becomes a palindrome then print that
palindrome number, otherwise print -1.
Input format
Each test case has a single line containing a number.
Output format
Corresponding to each test case, print the palindrome number or -1 as stated
above.
Sample testcases
Output 1
Input 1
55
23​

Answers

Answered by AakiSeh09
0

Answer:

Pls write the question properly....

Explanation:

I am not able to read the question correctly

Similar questions