+ 1
Want logic for palindrome
logic for finding whether the string is palindrome or not
3 Answers
+ 2
hi swagat,
Ā examples are 121, 212, 12321, -454.
To check whether anumberĀ isĀ palindromeĀ or not first we reverse it and then compare the numberĀ obtained with the original, if both are same thenĀ numberĀ is palindromeĀ otherwise not a palindrome
+ 2
thanks