Deloitte Interview Question

Write a program to check if a given number is a palindrome or not.