/* Declaramos las Librerias */
#include
#include
main() /* Iniciamos el programa */
{
int a; /* Declaramos a como entero */
clrscr(); /* Limpiamos la pantalla */
printf("Ingrese 1 numero para ver si es par:"); /*Imprimimos en pantalla */
scanf("%d",&a); /* Escaneamos un valor y lo guardamos en a */
if (a%2==0) /* Si el residuo de a entre 2 es 0 */
printf("%d es par",a);
else
printf("%d es impar",a);
getch(); /* Usamos getch para no regresar al compilador antes de ver el resultado */
return 0;
}
One of the most astonishing old town on the planet Old City of Jerusalem
-
Jerusalem is perhaps the most established city on the planet . By measuring
its history and its multifaceted nature, on the off chance that we think
about ...
Hace 5 años
0 comentarios:
Publicar un comentario