Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
4003CEM-intro_orig/lab_leap.h
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
10 lines (10 sloc)
326 Bytes
This file contains 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
/** | |
* @brief Idenfies if a given year is a leap year or not. | |
* | |
* Does not deal with all the issues surrounding Julian or Coptic calendar | |
* systems or with historic changes to the calendar. | |
* | |
* @param year Year to check. | |
* @return true if the year is a leap year. | |
* @return false if the year is not a leap year. | |
*/ |