Since many will have the same doubt she decides to automate the task by writing the code snippet for finding the same but she don't know the logic to write it.
#include <stdio.h>
int main()
{
int year;
scanf("%d",&year);
if(year%4==0)
{printf("LEAP YEAR");}
else
{printf("NOT A LEAP YEAR");}
return 0;
}
0 Comments
if you have any doubt, plz let me know