Ruby Quiz [2012-09-12]: Fridays the 13th

From: Damon B.
Sent on: Friday, September 7, 2012 10:32 AM
Hard on the heels of this week's quiz -- which I didn't realize didn't
get sent out until the day after we had already discussed it in our
office! -- comes a new quiz for your perusal.

This week's quiz is to locate all of the Fridays the 13th within an
arbitrary date range. Chris Johnson suggests that bonus points be
awarded for calculating the average time difference between successive
Fridays the 13th. There are any number of other statistics that could
be derived (e.g., avg number of Fridays the 13th per year) if you feel
up to it.

Have fun!

~Damon

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy