Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Date: 13-04-2014
- //Leap Year Detector
- #include <stdio.h>
- #include <stdlib.h>
- int main (int argc, const char * argv []) {
- int year;
- int START_OF_THE_GREG_CALENDAR;
- START_OF_THE_GREG_CALENDAR = 1582;
- printf ("Enter a year\n");
- scanf ("%d", &year);
- //
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement