C++ program to check whether a given number is even or odd

C++ program to check whether a given number is even or odd