Wednesday, October 21, 2015

Yes, there is a pattern here to generalize. Just divide the candybar by how many people are sharing it and you'll get the number of how many times you'll have to break it. This can become an algorithim because it is the math function required to find out how many times to break the candybar based on how many people there are.

No comments:

Post a Comment