George Washington

I'm coming to condensing all these ideas late, too.

Linda

-----Original Message-----
From: programming-boun...@jsoftware.com
[mailto:programming-boun...@jsoftware.com] On Behalf Of Ric Sherlock
Sent: Saturday, February 25, 2012 2:08 AM
To: Programming forum
Subject: Re: [Jprogramming] Challenge 6 Many Many Cherry Trees

Coming to this late but here's my version anyway:

shuffle=: {~ [: ?~ #
spacing=: [: , ' '&,.
pad=: |."_1~ i.&.-@#
gw=: [: pad spacing@shuffle\  NB. what does gw stand for?

   gw 'cherrytree'
          c
         c h
        e c h
       c h r e
      c r h r e
     r e c y h r
    y t e h r r c
   r h r r y c e t
  r r h r c e e t y
 h e c r e r t y r e
----------------------------------------------------------------------
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