Magic squares of doubly even order: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: added an article ("the") to the last line of the output.)
m (→‎{{header|REXX}}: added an html comment.)
Line 73:
 
=={{header|REXX}}==
 
<!--! I couldn't figure out the other code's bit shifting and bit ANDing, so I wrote my own algorithm. -->
 
<lang rexx>/*REXX program constructs a magic square of doubly even sides (a size divisible by 4).*/
n=8; s=n%4; L=n%2-s+1; w=length(n**2) /*size; small sq; low middle; # width*/