#include <stdio.h>
int year;
int main() {
    scanf("%d",&year);
    if(year%4 == 0){
        printf("given year is leap year");
        
    }
    else{
    printf("given year is not a leap year");}
    return 0;
}

Embed on website

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