#include<stdio.h>
int main(){
    int n=1900;
    if(n%4==0 && n%100!=0){
        printf("leap year ");
    }
    else if  (n%400==0 && n%100 == 0){
        printf("leap year");
    }
    else{
        printf("non leap year ");
    }
}

Embed on website

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