Micro Controller Leap Year Function Help

_Bool checkleap(int year)

{ _Bool leapyear=0;

if(year%4==0)

{

Programming Assignment Help Order Now

leapyear=1;

if(year%100==0)

leapyear=0;

if(year%400==0)

{

leapyear=1;

}

}

}

return(leapyear);

}

Assignment help | Micro Controller Leap Year Function Help | Online Tutoring | Sample Homework