Code:
if(number%2 == 0)
  printf("Number is Even");
else
  printf("Number is Odd");