Answer:
56 Cola-flavored gumballs remaining.
Explanation:
There are 180 gumballs. Bob purchased 40 gumballs, which leaves 140 gumballs remaining.
There are four flavors. This is the chance (shown as a percentage) of each flavor Bob recieved:
║GR: 4 ⇒ 10%
║CH: 12 ⇒ 30%
║CO: 16 ⇒ 40%
║OR: 8 ⇒ 20%
So, how can we predict the number of Cola flavored gumballs remaining?
[There is a 40% chance of getting a Cola-flavored gumball from the machine. If we find 40% of 140, we can predict that is close to the number of Cola gumballs left in the machine]
║0.40 ⋅ 140 = 56
40% of 140 is 56, so we can predict there are 56 Cola-flavored gumballs remaining.