Tata Technologies interview question

write a program to find if number is even or odd