- #1
the_Doctor111
- 6
- 0
Homework Statement
Suppose you spend $12.30 on chocolate bars and chips. If chocolate bars cost $1.20 and each bag of chips cost $2.50, how many bags of chips did you buy?
*Both the number of chocolate bars and bags of chips must be positive.
Homework Equations
12.30 = 1.20x + 2.50y
The Attempt at a Solution
What is the method i go about solving this problem besides guess and check. I assume it has something to do with the euclidian algorithm since that's what I have been learning.
Cheers.