/*__________________________________________________

   Libro: EMPEZAR DE CERO A PROGRAMAR EN LENGUAJE C
   Ejercicio Resuelto 12.1: Número par o impar
   
   Web del Autor: http://www.carlospes.com
  __________________________________________________*/

#include <stdio.h>

int main()
{
   int numero;

   printf( "\n   Introduzca un numero entero: " );
   scanf( "%d", &numero );

   if ( numero % 2 == 0 )
      printf( "\n   ES PAR" );
   else
      printf( "\n   ES IMPAR" );

   return 0;
}