Magic square by teebee

for(scale=!n=read();j||i++-j=n;){if(100>.=(i+2*--j)%n*n+(i+j+n/2)%n+1)" ";if(A>.)" ";print.;if(j)" "else"
"}

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

download

return to the top page