Answer:
The number of corn dogs bought is 3.
Explanation:
It is given that, cost of soda is $3 and cost of corn dogs is $4 each.
Let the number of soda bought be "x" and corn dogs be "y".
Thus the total amount spent is given by,
![A = 3x + 4y](https://img.qammunity.org/2020/formulas/mathematics/high-school/tvqstgnruuhglcb9okvscvssnm20si8l1a.png)
The total amount is less than or equal to $27, which means;
![3x+4y\leq 27](https://img.qammunity.org/2020/formulas/mathematics/high-school/9mtsjly5r9hc4853djcov2a07l5bosi5on.png)
The above inequality can be used to find the number of corn dogs bought.
![y\leq (27-3x)/(4)](https://img.qammunity.org/2020/formulas/mathematics/high-school/lo71bdzvzdl5lbsye4dcfq3zx9mugjp8kq.png)
Now, number of items bought are greater than zero and integers, thus x and y are greater than zero integers.
Inserting x from 0 to 9, we get only two only 2 answers,
(x,y) = (5,3) and (9,0)
But it is said that number of corn dogs is not zero, some are bought, thus correct solution is (5,3).
Thus the number of corn dogs bought is 3.