HSBC Interview Question

Write a programme to determine whether an inputted integer is even or not.