if,else: Leap year or not Leap year :C Program if,else: Leap year or not Leap year :C Program #include<stdio.h> #include<conio.h> void main() { int n; clrscr(); printf("Enter a Year"); scanf("%d",&n); if(n%4==0) printf("LeaP Year"); else printf("Not Leap Year"); getch(); }
0 comments:
Post a Comment