a concession stand sells hamburgers (h) for $2 and hotdogs (d) for $1. on friday night they sold a total of 300 hamburgers and hotdogs and made $420 . how many of them did they sell

Let's assume they sold x hamburgers and (300-x) hotdogs.

Given that each hamburger costs $2 and each hotdog costs $1, we can write the equation:

2x + 1(300-x) = 420

Simplifying the equation, we get:

2x + 300 - x = 420
x + 300 = 420
x = 120

Therefore, they sold 120 hamburgers and (300 - 120) = 180 hotdogs.