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(); } 27 Nov 2015
0 comments:
Post a Comment
Click to see the code!
To insert emoticon you must added at least one space before the code.