Old MacDonald by breadbox

i;main(j,r){for(r="Old MacDonald had a farm, E-I-E-I-O.\n";i<4;puts(r))for(printf("%sAnd on his farm he had a %.5s%sWith a",r,"cow\x00.sheepduck\x00pig"+5*i,r+24),j=++i;j--;)printf("%s here, and a%1$s there.\nHere a%1$.*s, there a%1$.*2$s, everywhere a%1$s.\n%s"," moo-moo\x00 baa-baa\x00 quack-quack\x00n oink-oink"+"\x00\x09\x12\x1f"[j],4|j&2,"A"+!j);}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page