First Please Subscribe Our Channel Click Here For Subscribe
Close
C PROGRAMMING WORLD
BY SUNIL KUMAR DHEENDHWAL
Pages
INDEX
Home
INSTALING STEPS OF TURBO
How To Start Programming With C
HOW TO EARN MONEY ONLINE
Find Us On Facebook
How to find that given year is leap year or not in C
#include<stdio.h>
#include<conio.h>
void main()
{
int year;
clrscr();
printf("enter the year");
scanf("%d",&year);
if(year%4==0)
{
printf("year is leap year");
}
else
{
printf("year is not year");
}
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment