-
-
Save programmingfaster0226/4eb3c021f2e62445174241a65b15d34b to your computer and use it in GitHub Desktop.
aliz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<conio.h> | |
void main() | |
{ | |
int year; | |
printf("enter any year:"); | |
scanf("%d", & year); | |
if((year%4==0) && (year%100!=0)/(year%400==0)) | |
printf("leap year"); | |
else | |
printf("not leap year"); | |
getch(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment