3 ms·
correct link: https://newnxa.blogspot.com/2017/03/leap-year-example-2-this-program-checks.html https://newnxa.blogspot.com/2017/03/leap-year-example-2-this...
by DrScump 10y ago
correct link:
https://newnxa.blogspot.com/2017/03/leap-year-example-2-this-program-checks.html https://newnxa.blogspot.com/2017/03/leap-year-example-2-this...
Fails on years before leap years were instituted or the Gregorian/Julian switch, of course, but it handles future basics properly.