number of fruits equation:
m + l + c = 100
cost of fruits equation:
m/20 + l + 5c = 100
subtract them
m/20-m + 4c = 0
-19m/20 = -4c
19m = 80c
but all my variables have to be whole numbers, so the first solution to 19m = 80c is
m = 80, c = 19
put this back into the first equation:
l = 1
so 80 mangos, 1 lichi, and 19 coconuts
check:
that add up to 100
cost: 80/20 + 1 + 5(19) = 100
my answer is correct
I have 100 bucks to buy 100 fruits. The fruits which I need to buy are- mango; which is 20 piece for 1 buck, lichi; which is 1 piece for 1 buchan and coconut; which is 1 piece for 5 bucks. How many each of6the fruits do I have to buy to get this result-100 fruits for 100 bucks?
1 answer