in reply to ASCII Pattern - Golf
$x=shift;$y=10-shift;for$a(1..9){for(1..9){$c=abs$y-$a;$d=abs$x-$_;pri +nt$c>$d?$c:$d}print"\n"}
-Mark
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: ASCII Pattern - Golf
by tedrek (Pilgrim) on Sep 19, 2003 at 02:22 UTC | |
by tilly (Archbishop) on Sep 19, 2003 at 02:43 UTC |