[Jprogramming] Just for fun, verb cross

Aai agroeneveld400 at gmail.com
Mon Dec 10 09:11:00 UTC 2012


    ((+.|.)@={"0 1 ' '&,.)'abcde'
a   a
  b b
   c
  d d
e   e

On 10-12-12 03:42, km wrote:
> Write verb cross.
>
>      cross 'abcde'
>   a   a
>    b b
>     c
>    d d
>   e   e
>   
>   (Result should look like a cross with 'abcde' along both diagonals.)
>   
>      cross 'a'
>   a
>      cross 'ab'
>   aa
>   bb
>   
> Kip Murray
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
Met vriendelijke groet,
@@i = Arie Groeneveld



More information about the Programming mailing list