Skip to content

Instantly share code, notes, and snippets.

Created October 9, 2019 21:42
What would you like to do?
#include <stdio.h>
int main(void) {
int numero;
printf("Escribe un número:\n");
scanf("%d", &numero);
if (numero % 2 == 0) {
printf("Es par");
} else {
printf("Es impar");
return 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment