C Program to find leap Year | Program to find given year leap year or not | Find Leap Year in C language
#include#include void main() { int yr; clrscr(); printf("enter the year"); scanf("%d",&yr); if((yr%400==0)&&(yr/4==0)) printf("leap year"); else printf("not leap year"); getch(); }
No comments:
Post a Comment