As a result of Billl’s message we have found a new supplier of cookie boxes which will decrease costs and increase profist for our company.
However, the challenge remains the same. After eliminataing the need for B, we have three boxes so far. The issue remains to find all the possible boxed eggs for our customers if we can send 1 to 12 eggs upon request. The answer should determine the number of different boxes we will need. ]AC12A=:2 6$<'0' ┌─┬─┬─┬─┬─┬─┐ │0│0│0│0│0│0│ ├─┼─┼─┼─┼─┼─┤ │0│0│0│0│0│0│ └─┴─┴─┴─┴─┴─┘ ]AC12B=:6 2$<'0' ┌─┬─┐ │0│0│ ├─┼─┤ │0│0│ ├─┼─┤ │0│0│ ├─┼─┤ │0│0│ ├─┼─┤ │0│0│ ├─┼─┤ │0│0│ └─┴─┘ ]AC12=:3 4$<'0' ┌─┬─┬─┬─┐ │0│0│0│0│ ├─┼─┼─┼─┤ │0│0│0│0│ ├─┼─┼─┼─┤ │0│0│0│0│ └─┴─┴─┴─┘ ]AC5A=:5$<'0' ┌─┬─┬─┬─┬─┐ │0│0│0│0│0│ └─┴─┴─┴─┴─┘ ]AC12A=:2 6$<'0' ┌─┬─┬─┬─┬─┬─┐ │0│0│0│0│0│0│ ├─┼─┼─┼─┼─┼─┤ │0│0│0│0│0│0│ └─┴─┴─┴─┴─┴─┘ ]AC12B=:6 2$<'0' ┌─┬─┐ │0│0│ ├─┼─┤ │0│0│ ├─┼─┤ │0│0│ ├─┼─┤ │0│0│ ├─┼─┤ │0│0│ ├─┼─┤ │0│0│ └─┴─┘ ]AC12=:3 4$<'0' ┌─┬─┬─┬─┐ │0│0│0│0│ ├─┼─┼─┼─┤ │0│0│0│0│ ├─┼─┼─┼─┤ │0│0│0│0│ └─┴─┴─┴─┘ ]AC5A=:5$<'0' ┌─┬─┬─┬─┬─┐ │0│0│0│0│0│ └─┴─┴─┴─┴─┘ -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of bill lam Sent: Thursday, October 02, 2014 8:15 PM To: Programming forum Subject: Re: [Jprogramming] Protect the Almond Cookies 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 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
