Wednesday, 5 November 2014

WAP TO FIND A YEAR IS LEAP YEAR OR NOT





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();
}
 


blogger--programer boy shubham

No comments:

Post a Comment