Question d’entretien chez HSBC

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