- #36
- 7,378
- 11,342
Ok. Then I'll have to add a clause. Or just declare it's not a palindrome, as there are no numbers ending up in a -. Or set it up differently, to compare places 1 ( bypassing the 1st/0th spot) through k with places k through 1.PeterDonis said:Yes, but what about strings that represent negative numbers?