Final answer:
To find the number of hamburgers and salads sold, we can set up a system of equations and solve it. The number of hamburgers sold is 80, and the number of salads sold is 72.
Step-by-step explanation:
To find the number of hamburgers and salads sold, we can set up a system of equations representing the given information.
Let's say the number of hamburgers sold is h and the number of salads sold is s.
From the problem, we know that:
5h + 7s = 904 _______equation 1
h + s = 152 __________equation 2
We can solve this system of equations using substitution or elimination. Let's solve it using elimination:
Multiply equation 2 by 5 to make the coefficients of h in both equations equal:
5(h + s) = 5(152)
5h + 5s = 760________equation 3
Now, subtract equation 3 from equation 1:
(5h + 7s) - (5h + 5s) = 904 - 760
2s = 144
s = 72
Substitute this value of s back into equation 2 to find the value of h:
h + 72 = 152
h = 152 - 72
h = 80
Therefore, 80 hamburgers and 72 salads were sold.