A vendor sells h hot dogs and s sodas. If a hot dog costs twice as much as a soda, and if the vendor takes in a total of d dollars, how many cents does a soda cost?

4 answers

If a soda costs x, then we have
2hx + sx = 100d
x = 100d/(2h+s)
that was not right
well, maybe you can find and fix my error.
That was correct, I tried inputting the answer.