Magic squares/Perl: Difference between revisions
m
Fix link: Perl 6 --> Raku
Thundergnat (talk | contribs) m (Try to fix bogus multiple reporting of task entries) |
SqrtNegInf (talk | contribs) m (Fix link: Perl 6 --> Raku) |
||
(One intermediate revision by one other user not shown) | |||
Line 1:
Rather than having multiple examples for different orders of magic square, this program generates a magic square for ''any'' valid n x n grid.
Line 8 ⟶ 7:
</ul>
<span style='font-family: "Linux Libertine",Georgia,Times,serif;font-size:150%;'>[[Perl]]</span><hr>
{{trans|
<lang perl>use strict;
use warnings;
|