/****************************************************************************/
/* Salary:This program displays whether an input number is even or odd */
/* */
/* Written by: Vinita Bhatia */
/* Revision 0: June 6, 1996 */
/* */
/****************************************************************************/
#include <stdio.h>
main()
{
int x; /* Integer input by the user */
printf ( "Please enter a number : " );
scanf ( "%d", &x );
printf ( ( x & 1 ) ? "%d is odd\n" : "%d is even\n", x );
return 0;
}