Vous êtes sur la page 1sur 1

#include <stdio.

h>
#include <conio2.h>

int main()
{
int ano;
printf("Introduce el año:\n");
scanf("%d", &ano);

if ((ano % 4 == 0) && (ano % 100 != 0) || (ano % 400 == 0))


{
printf("Es bisiesto");
}
else
{
printf("No es bisiesto");
}
getch();
}

Vous aimerez peut-être aussi