Search:

Type: Posts; User: mwr76

Search: Search took 0.09 seconds.

  1. Replies
    4
    Views
    1,200

    Re: Logic issue(I believe) stumped

    Thanks a lot. It was actually not that hard to fix after your last post.What I did was: numOfBoxes = Boxes(numOfBoxes, totalCookies); I did this after the
    method Boxes() returned numOfBoxes, That...
  2. Replies
    4
    Views
    1,200

    Re: Logic issue(I believe) stumped

    I did what you said. The numOfBoxes was correct and remainderCookies was correct. NumOfContainers and remainderBoxes are zero. So I am concluding that
    they are not getting these values after the...
  3. Replies
    4
    Views
    1,200

    Logic issue(I believe) stumped

    I am trying to write a problem that calculates the number of boxes and containers based on the total number of cookies input.
    Even trying to step through each line I cannot figure it out. Here's my...
Results 1 to 3 of 3