Magic squares of odd order: Difference between revisions

m
→‎{{header|REXX}}: used a template for the output section.
m (→‎{{header|REXX}}: changed a comment.)
m (→‎{{header|REXX}}: used a template for the output section.)
Line 3,614:
if N//2 then say 'The magic number (or magic constant is): ' N * (NN+1) % 2
/*stick a fork in it, we're all done. */</lang>
'''{{out|output''' |text=&nbsp; when using the default input of: &nbsp; '''5'''}}
<pre>
17 24 1 8 15