
William W. answered 01/14/25
Math and science made easy - learn from a retired engineer
I assume you mean that you want 3 different items in each selection (no lemonade, lemonade, lemonade choices).
Let each choice be represented as A, B, C, D, E, F, G
(A = small popcorn, B = medium popcorn, etc)
The possible choices are (starting with "A")
ABC
ABD
ABE
ABF
ABG
ACD
ACE
ACF
ACG
ADE
ADF
ADG
AEF
AEG
AFG
BCD
BCE
BCF
BCG
BDE
BDF
BDG
BEF
BEG
BFG
CDE
CDF
CDG
CEF
CEG
CFG
DEF
DEG
DFG
EFG
Notice that if I select a medium popcorn, there are no choices that add to less than $5 (medium popcorn plus the cheapest other two items - lemonade and granola - add to $5.07) so the only successes will be choices involving items that cost less than $2.99. That means we can cross out all the possibilities that have B and C in them. That reduces our possibilities to:
ADE
ADF
ADG
AEF
AEG
AFG
DEF
DEG
DFE
EFG
Now, just add up the prices on each:
ADE = Small popcorn, cookie, lemonade = $6.19
ADF = Small popcorn, cookie, candy bar = $6.29
ADG = Small popcorn, cookie, granola bar = $5.89
AEF = Small popcorn, lemonade, candy bar = $5.23
AEG = Small popcorn, lemonade, granola bar = $4.83
AFG = Small popcorn, candy bar, granola bar = $4.93
DEF = Cookie, lemonade, candy bar = $4.73
DEG = Cookie, lemonade, granola bar = $4.33
DFG = Cookie, candy bar, granola bar = $4.43
EFG = Lemonade, candy bar, granola bar = $3.37
So the only ones that are less than $5 are:
AEG = Small popcorn, lemonade, granola bar = $4.83
AFG = Small popcorn, candy bar, granola bar = $4.93
DEF = Cookie, lemonade, candy bar = $4.73
DEG = Cookie, lemonade, granola bar = $4.33
DFG = Cookie, candy bar, granola bar = $4.43
EFG = Lemonade, candy bar, granola bar = $3.37