Question
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?
Answers
oobleck
If a soda costs x, then we have
2hx + sx = 100d
x = 100d/(2h+s)
2hx + sx = 100d
x = 100d/(2h+s)
Helen
that was not right
oobleck
well, maybe you can find and fix my error.
darsh
That was correct, I tried inputting the answer.