You are selling hot dogs and sodas. Each hot dog costs $1.50 and each soda costs $0.50. At the end of the night you made a total of $78.50. You sold a total of 87 hot dogs and sodas combined. How many hot dogs were sold and how many sodas were sold?
h = hot dogs money from hot dogs = $1.50 h
87 - h = sodas money from sodas = $ .5 (87-h) add money amount to total 78.50
1.50 h + .5 (87-h) = 78.50 solve for 'h' the number of hot dogs then sodas = 87-h