# include<stdio.h>
#include<conio.h>
int main (void) {
int a ; printf("Enter the year to know lipear or not : ");
scanf("%d",&a);
if (((a%100)!=0)&&((a%4)==0)||((a%400)==0))
printf ("\n It is a lepiar year ");
else printf ("it is not a lipear year");
getch ();
return 0 ; }
No comments:
Post a Comment