Determine if it is a leap year in c language

www.laut‮moc.irut‬
Determine if it is a leap year in c language
/*
Example check if leap year in C language
*/

#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <stdbool.h>

int main(int argc, char *argv[]) {
    int year = 2020;
    if(year% 4 == false && year%100 != false || year%400 == false)
    {
        //  is a leap year
        printf("ss");
    }
    else
    {
        //  isn't a leap year
    }
    return 0;
}
Created Time:2017-08-28 10:01:04  Author:lautturi