0

how algorithm to check our integer input is palindrom or not?

java

7th Aug 2017, 12:09 AM
Nurikhsan
Nurikhsan - avatar
6 ответов
+ 2
write a loop to reverse your input. if input == reverse_input, then you got yourself a palindrome.
7th Aug 2017, 12:20 AM
Salekin
Salekin - avatar
0
i think u know sbout tthe logic of palindrom
9th Aug 2017, 12:28 AM
Dyah Nuraeni
Dyah Nuraeni - avatar
0
realy ? :-) hehe. but i can't make it. so i try to get some answer that very simple
9th Aug 2017, 12:32 AM
Nurikhsan
Nurikhsan - avatar
0
just use ur logic
9th Aug 2017, 4:09 AM
Dyah Nuraeni
Dyah Nuraeni - avatar
0
okay thanks yayah
9th Aug 2017, 4:18 AM
Nurikhsan
Nurikhsan - avatar
0
Check the solution here on how to reverse an integer. https://www.sololearn.com/Discuss/602265/?ref=app
9th Aug 2017, 4:29 AM
Salekin
Salekin - avatar