- Check if a year is leap :
Usage : ./cal [year]
β "Oh, I wonder if this year is leap. Let's do ./cal 2024 !" β
- Print every leap year between two date :
Usage : ./cal [min year] [max year]
β "How many leap years from 1800 to 2024 ?. Let's do ./cal 1800 2024 !" β
- Add an amount of days to a date to know the future date :
Usage : ./cal [day] [month] [year] [days to add]
β "I have 100 days left to finish this project. What is the final date ? Let's do ./cal 30 10 2024 100 !" β
Linux only π§
Terminal only
1 : Git clone the repo :
git clone git@github.com:melobern/CalendarLeapYears.git2 : Go into the repo named CalendarLeapYears :
cd CalendarLeapYears3 : Install with make :
make
4 : use the ./cal who appeared in your directory !
Phew, this installation was so hard π΄ Congratulations for achieving it π₯³