How do you write a program in C that checks whether a number is even?
How do I write a C program to check whether a number is even or odd?