• anonymous
Can someone help me with the first problem on the nuggets code? Having trouble on where to start with problem 1?
MIT 6.00 Intro Computer Science (OCW)
  • chestercat
See more answers at
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly


Get your free account and access expert answers to this
and thousands of other questions

  • anonymous
Well, the problem is how to calculate nuggets, from different combinations of the indicated Pack Sizes. I would start by writing down the equation, then write in steps what you would have to do to solve that equation. ex. 1. I need to get total N(nuggets), using equation: 6a + 9b + 20c. 2. I must calculate for N =50, to 55 nuggets inclusive. 3. If I get a solution for N = 50 - 55, I must explain why N = 56 to 65 is also possible. 4. How do I substitute int for those variables (a,b,c)? 5. What Range of values would I need, if any? This is just a basic way that I solved the problem, but there are many other ways to do it.
  • anonymous
Thank you so much I just had no idea how to start it and now I actually have a clue.

Looking for something else?

Not the answer you are looking for? Search for more explanations.