0
I want help to solve this problm
This is program for palindrome number it is working but in else part i want that if user enter any number if it is not palindrome then what number i have to add or subtract to make it palindrome https://code.sololearn.com/cSAgpp7XEhxv/?ref=app
4 Answers
+ 6
đđđđđ
You can concat reverse value in original value or remove first character from reverse value then concat in original value.
For example:
original - 123
reverse - 321
concat value:
123321 or 12321
+ 4
đđđđđ
I said join original value with reverse value to make palindrome.
Suppose original value is 123 and reverse value is 321 then you can make palindrome by joining these 2 values.
So after joining 123321 will be palindrome number
You can see this example
https://code.sololearn.com/c3j2M5d2la9x/?ref=app
+ 3
Keeps the number of digit as original number, and calculates difference.
https://code.sololearn.com/cdoGtC6lei1U/?ref=app
0
I Am AJ ! Am not getting



