0
how to find a palindrome using code, which function can leave an integer in reverse order?
3 ответов
+ 3
Please link your attempt. You could i.e. convert the number to string and test if the order equals an inverted order.
+ 2
yes convert the integer to string, then flip the string around using loop over all indices, then convert back to integer.