Write Palindromes with three methods: reverse(int n) returns n with its digits reversed, isPalindrome(int n) uses reverse, and digitCount(int n) counts digits. In main, read a range from to and print how many palindromes it contains, the largest one with its digit count, and reverse(to):
Palindromes between 100 and 200: 10
Largest: 191 (3 digits)
reverse(200) = 2
Each method must do one job and contain no printing.