Write a program that accept a lower and upper limit and prints aĺl palindrome numbers present in given limit
4
Answers
Answered by
0
Answer:
All the numbers between 1 and 67450 can produce two unique palindromes: one with the duplicated middle digit kept and one with it dropped. 674505476 is greater than 674502184 so we'll use 67449 as our last number. This gives us 67449 * 2 = 134898 palindromes.
Answered by
0
We can run a loop from min to max and check every number for palindrome. If number is palindrome, we can simply
Similar questions