Answer:
they bought 8 candy bars and 8 + 4 = 12 packs of gum.
Explanation:
Let's use algebra to solve this problem:
Let x be the number of candy bars they bought.
Then, the number of packs of gum they bought is x + 4.
The total cost of the candy bars is 60x cents.
The total cost of the packs of gum is 85(x + 4) cents.
We know that they spent $15.00, which is 1500 cents, so we can write an equation:
60x + 85(x + 4) = 1500
Simplifying the equation, we get:
145x + 340 = 1500
145x = 1160
x = 8
Therefore, they bought 8 candy bars and 8 + 4 = 12 packs of gum