Leaping Years

The Task

Can you write a program that will output the next 20 leap years?

Extension

Can you extend the program so it will tell you the next 20 occurrences of Fridays falling on the 13th?  

About CDB 362 Articles
Self-Employed Software Developer, Spark, Property Management, Hobby Forestry, Ex-Teacher, Engineering - Wood, Metal, Electrics & Computers. Outdoors - Walk, Cycle, Kitesurf,

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.