Old MacDonald by %20

j;main(i){for(;j++<4;puts(""))for(i=j+2;~i--;)printf(~i&i+~j?i-j?"%3$s%5$s %4$s-%4$s here, and a%5$s %4$s-%4$s there.\nHere a%5$s %4$s, there a%5$s %4$s, everywhere a%5$s %4$s-%4$s.\n":"And on his farm he had a %2$s%s":"Old MacDonald had a farm%s",", E-I-E-I-O.\n","cow\x00@@sheep\x00duck\x00@pig"+6*~-i,j+~i?"A":"With a","moo\x00@@baa\x00@@quack\x00oink"+6*i,"\x00n"+i/3);}

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

download

return to the top page