87.2k views
4 votes
Each hotdog cost $1.50 and sodas cost $.50. At the end of the day you made a total of $78.50.You sold a total of 87 hot dogs and sodas combined.How many hotdogs and sodas were sold?

User FredG
by
4.3k points

1 Answer

2 votes

Answer:

The number of hot dogs sold was 35 and the number of sodas sold was 52

Explanation:

Let

x ----> the number of hot dogs sold

y ----> the number of sodas sold

we know that


x+y=87


x=87-y ----> equation A


1.50x+0.50y=78.50 ----> equation B

Solve the system by substitution

substitute equation A in equation B


1.50(87-y)+0.50y=78.50

solve for y


130.50-1.50y+0.50y=78.50


1.50y-0.50y=130.50-78.50


y=52\ sodas

Find the value of x


x=87-52=35\ hot dogs

therefore

The number of hot dogs sold was 35 and the number of sodas sold was 52

User Mrpasqal
by
4.2k points