#include <stdio.h>
int main()
{
int year;
printf(“enter year\n”);
scanf(“%d”, &year);
if(year % 4==0 || year % 100== 0)
printf(“it is leap year\n”);
else
printf(“it is non leap year\n”);
return 0;
}
#include <stdio.h>
int main()
{
int year;
printf(“enter year\n”);
scanf(“%d”, &year);
if(year % 4==0 || year % 100== 0)
printf(“it is leap year\n”);
else
printf(“it is non leap year\n”);
return 0;
}
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.