#include int main() { int year; printf(“Enter a year: “); s

#include
int main()
{
int year;
printf(“Enter a year: “);
scanf(“%d”, &year);
// A leap year is divisible by 4, except if it is divisible by 100 and not divisible by 400
if (year % 4 == 0)
{
if (year % 100 == 0)
{
if (year % 400 == 0)
printf(“%d is a leap year.n”, year);
else
printf(“%d is not a leap year.n”, year);
}
else
printf(“%d is a leap year.n”, year);
}
else
printf(“%d is not a leap year.n”, year);
return 0;
}

Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount