rank conjunction is difficult to understand even for adult.
IMO 2 6$<'0' is better,

   2 6$<'0'
┌─┬─┬─┬─┬─┬─┐
│0│0│0│0│0│0│
├─┼─┼─┼─┼─┼─┤
│0│0│0│0│0│0│
└─┴─┴─┴─┴─┴─┘

On Oct 2, 2014 8:10 PM, "Linda Alvord" <[email protected]> wrote:

> Suppose you want to start a little business to sell ancy Almond Cookies.
> You want to be able to provide boxes of cookies for any order up to 12
> cookies.  Createe a  way to show all the box designs you will need for your
> cookies.  Orders may be from 1 to 12 cookies. Also include a way to have
> the computer generate a count of the different  shapes of boxes you will
> need. Show a cookie in each box.  Sinple J please.
>
> ]AC12A=:(<"0)2 6$'0'
> --T-T-T-T-T-┐
> │0│0│0│0│0│0│
> +-+-+-+-+-+-+
> │0│0│0│0│0│0│
> L-+-+-+-+-+--
>    ]AC12B=:<"0|.6 2$'0'
> --T-┐
> │0│0│
> +-+-+
> │0│0│
> +-+-+
> │0│0│
> +-+-+
> │0│0│
> +-+-+
> │0│0│
> +-+-+
> │0│0│
> L-+--
>    ]AC12C=:(<"0)3 4$'0'
> --T-T-T-┐
> │0│0│0│0│
> +-+-+-+-+
> │0│0│0│0│
> +-+-+-+-+
> │0│0│0│0│
> L-+-+-+--
>    ]AC5D=:(<"0)5$'0'
> --T-T-T-T-┐
> │0│0│0│0│0│
> L-+-+-+-+--
>
> Packages A and B are considered the same
>
> Packages A and B are different.
>
>
>
>
>
> ----------------------------------------------------------------------
> 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