Student Q and Student R

 12 Days Of Christmas  "A partridge in a pear tree",			"second"=>"Two turtle doves",			"third"=>"Three French hens",			"forth"=>"Four calling birds",			"fifth"=>"Five golden rings",			"sixth"=>"Six geese a-laying",			"seventh"=>"Seven swans a-swimming",			"eigth"=>"Eight maids a-milking",			"ninth"=>"Nine ladies dancing",			"tenth"=>"Ten lords a-leaping",			"eleventh"=>"Eleven pipers piping",			"twelfth"=>"Twelve drummers drumming"); /* function singVerse "sings" (prints) a verse of the song * with the inputted number of day ($number) and gift given * on that day ($gift). */	function singVerse($number, $gift) {		print " On the $number day of Christmas,                       my true love gave to me"; print" {$gift}"; }	/*this foreach loops through the elements of the array and * calls the singVerse function to print. */	foreach($gifts as $number => $gift) {		singVerse($number, $gift); } ?>