#include <stdio.h>

int main() {
    int a;

    printf("Introduce un año: ");
    scanf("%d", &a);

    if ((a % 4 == 0 && a % 100 != 0) || (a % 400 == 0)) {
        printf("El año %d  es bisiesto.\n", a);
    } else {
        printf("El año %d no es bisiesto.\n", a);
        return 0;
    }
    }

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: