FIND A YEAR IS LEAP YEAR OR NOT
#include<stdio.h>
#include<conio.h>
void main()
{
int a;
printf("enter the value of
a");
scanf("%d",&a);
if(a%4==0)
printf("leap year");
else
{
printf("non leape
year");
}
getch();
}
No comments:
Post a Comment