Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Spiraling integersby ambrus (Abbot) |
on Aug 28, 2005 at 09:50 UTC ( [id://487238]=note: print w/replies, xml ) | Need Help?? |
to write a program (in any language) Would it offend the dear monks if I posted a program in J then? I hope no. (Even though you say any language, that's for the original question, ant this is perlmonks.) Here's the program:
To run it,
Update 2007 dec 7: better definition for the spiral function is
In Section
Cool Uses for Perl
|
|