Created
February 12, 2019 02:57
-
-
Save Rajssss/66c587f05cb1dd00bcec28f21868244e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| int main() | |
| { | |
| int a; | |
| printf("\nEnter year=>"); | |
| scanf("%d",&a); | |
| (a%100==0)?(a%400==0?printf("\nLeap\n"):printf("\nNot Leap\n")):(a%4==0?printf("\nLeap\n"):printf("\nNot Leap\n")); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment