#include<stdio.h>
#include<conio.h>
void main()
{
int x;
puts("Enter the year");
scanf("%d",&x);
if(x%4==0)
puts("This is a leap year")
else
puts("This is not a leap year");
}
#include<stdio.h>
#include<conio.h>
void main()
{
int x;
puts("Enter the year");
scanf("%d",&x);
if(x%4==0)
puts("This is a leap year")
else
puts("This is not a leap year");
}
Comments
Post a Comment