Jump to content


Photo

12 days of Christmas


  • Please log in to reply
No replies to this topic

#1 heisenbug

heisenbug

    Gibson Hacker

  • Members
  • 79 posts
  • Country:
  • Gender:Male

Posted 04 March 2011 - 09:28 PM

Here's an easy, but fun one.

Create the song, "the twelve days of Christmas" in any language from the following...

String = "On the"
Array = (First Second Third Fourth Fifth Sixth Seventh Eighth Ninth Tenth Eleventh Twelfth)
String = "day of Christmas, my true love gave to me..."

Hash = ('Drummers Drumming' => 12,
'Pipers Piping' => 11,
'Lords-a-Leaping' => 10,
'Ladies Dancing' => 9,
'Maids-a-Milking' => 8,
'Swans-a-Swimming' => 7,
'Geese-a-Laying' = 6,
'Gold Rings' => 5,
'Colly Birds' => 4,
'French Hens' => 3,
'Turtle Doves' => 2,
'And a Partridge in a Pear Tree.' => 1,);




BinRev is hosted by the great people at Lunarpages!