/*
##########################################
Ayudantia Lenguaje de Programacion
ING2101 - Semestre II 2009 - UCSC 
Eduardo Toloza C. - contacto@etoloza.com
#########################################
- Estructuras Selectivas ( un numero par o impar )
*/

#include <stdio.h>
#include <stdlib.h>

int num1;


main(){
     
     printf("Ingrese un numero entero ");
     scanf("%d",&num1);
     
     if((num1%2)==0){
                 printf("\nEl numero es par\n\n");
                 }
                 else{
                      printf("\nEl numero es impar\n\n");
                      }
                      
                      
     system("pause");
         
     
     }
     

