(|+/~@i.@>:)3
0 1 2 0
1 2 0 1
2 0 1 2
0 1 2 0

   (| i.@(,~)@>:)3
0 1 2 0
1 2 0 1
2 0 1 2
0 1 2 0


R.E. Boss

________________________________________
Van: programming-boun...@forums.jsoftware.com 
<programming-boun...@forums.jsoftware.com> namens Don Guinn <dongu...@gmail.com>
Verzonden: maandag 31 augustus 2015 15:56
Aan: Programming forum
Onderwerp: Re: [Jprogramming] Pattern Puzzle

   pt=:(2#>:)$i.

On Mon, Aug 31, 2015 at 6:52 AM, 'Pascal Jasmin' via Programming <
programm...@jsoftware.com> wrote:

> I have
>
> (] ([ , ,.~) |."0 1)&i.~
>
>
>
>
> ________________________________
> From: Kip Murray <thekipmur...@gmail.com>
> To: "programm...@jsoftware.com" <programm...@jsoftware.com>
> Sent: Sunday, August 30, 2015 9:27 PM
> Subject: [Jprogramming] Pattern Puzzle
>
>
> Write a verb pt which produces the pattern shown below. --Kip Murray
>
>
>    pt 3
> 0 1 2 0
> 1 2 0 1
> 2 0 1 2
> 0 1 2 0
>    pt 4
> 0 1 2 3 0
> 1 2 3 0 1
> 2 3 0 1 2
> 3 0 1 2 3
> 0 1 2 3 0
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to