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?  

Leave a Reply

Your email address will not be published. Required fields are marked *

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