Skip to content

Instantly share code, notes, and snippets.

@programmingfaster0226

programmingfaster0226/donot do Secret

Created Jan 18, 2018
Embed
What would you like to do?
aliz
#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
You can’t perform that action at this time.