Tweeted twitter.com/#!/StackCodeGolf/status/463381308866322434 occurred May 5 '14 at 18:14 4 edited tags | link edited May 5 '14 at 15:29 Justin 18.2k99 gold badges5353 silver badges108108 bronze badges 3 added 159 characters in body; added 8 characters in body edited May 5 '14 at 11:41 rybo111 2,09422 gold badges1818 silver badges2323 bronze badges Create a function in your chosen language that echoesprints out the following: Old MacDonald had a farm, E-I-E-I-O, And on that farm he had a cow, E-I-E-I-O, With a moo moo here and a moo moo there, Here a moo, there a moo, everywhere a moo moo, Old MacDonald had a farm, E-I-E-I-O!  Where cow and moo are strings in the function parameters, and as such, can be changed to pig and oink or sheep and baa, for example. It should take into account capital letters, hyphens, punctuation, spaces and line breaks. Aim to type the fewest amount of Unicode characters in your code. Create a function in your chosen language that echoes the following: Old MacDonald had a farm, E-I-E-I-O, And on that farm he had a cow, E-I-E-I-O, With a moo moo here and a moo moo there, Here a moo, there a moo, everywhere a moo moo, Old MacDonald had a farm, E-I-E-I-O!  Where cow and moo are strings in the function parameters, and as such, can be changed to pig and oink or sheep and baa, for example. Create a function in your chosen language that prints out the following: Old MacDonald had a farm, E-I-E-I-O, And on that farm he had a cow, E-I-E-I-O, With a moo moo here and a moo moo there, Here a moo, there a moo, everywhere a moo moo, Old MacDonald had a farm, E-I-E-I-O!  Where cow and moo are strings in the function parameters, and as such, can be changed to pig and oink or sheep and baa, for example. It should take into account capital letters, hyphens, punctuation, spaces and line breaks. Aim to type the fewest amount of Unicode characters in your code. 2 edited tags | link edited May 5 '14 at 9:47 Howard 22.7k22 gold badges3838 silver badges8181 bronze badges 1 asked May 5 '14 at 9:17 rybo111 2,09422 gold badges1818 silver badges2323 bronze badges