Problema Solution

Dave is making a run to the local coffee shop for his work cubicle. He is going to buy a combination of Ice coffees and Cappuccinos. The Ice coffees cost $4 each and the Cappuccinos cost $3 each. If he needs 30 drinks total and has $100 to spend, how many of each should he buy?

Answer provided by our tutors

Cost of ice coffees = $4

Cost of Cappuccinos = $3

Total number of drinks = 30

Let coffees = x

Let Cappuccinos = y

=> x+y = 30

and

4x+3y=100

Multiplying first equation by 3 and subtracting from second equation gives us

=> x = 10

and y = 20