Magic squares/Perl: Difference between revisions
Further attempt to avoid task miscount
Thundergnat (talk | contribs) m (Try to fix bogus multiple reporting of task entries) |
Thundergnat (talk | contribs) (Further attempt to avoid task miscount) |
||
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|Perl 6}}
<lang perl>use strict;
|