Write a program to check palindrome number

Source code: