home *** CD-ROM | disk | FTP | other *** search
-
-
- NAME
- isleap -- check if year is a leap year
-
- SYNOPSIS
- r = isleap(year);
- int r; returns TRUE if leapyear, else FALSE
- int year; year value
-
- DESCRIPTION
- This function simply checks the specified year to return a
- TRUE if the specified year is a leap year.
-
-
-
- EXAMPLE
-
- if(isleap(1986)) printf("This is a leap year");
- else printf("This is not a leap year");
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- This function is found in SMTCx.LIB for the Turbo-C Compiler.