for(n=readline(y=5);y--;)for(i=y%2||n;i--;print(s))for(s='',x=5;x--;)for(j=x%2||n;j--;)s+=' |-+'[y%2*2+x%2]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page