+ 1
Want logic for palindrome
logic for finding whether the string is palindrome or not
3 Réponses
+ 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