Domanda di colloquio di EY

Write a program to check whether a number is even or odd.