SOLUTION: A chocolate bar is worth a quarter (25 cents) and a piece of gum costs a dime (10 cents). If Ariel bought 40 pieces of candy for $7, how many chocolate bars did he buy? [PS: only o

Algebra.Com
Question 712189: A chocolate bar is worth a quarter (25 cents) and a piece of gum costs a dime (10 cents). If Ariel bought 40 pieces of candy for $7, how many chocolate bars did he buy? [PS: only one variable]
Answer by josgarithmetic(39617)   (Show Source): You can put this solution on YOUR website!
TWO variables. At least to start.

b and g for chocolate BAR and gum, respectively.
accounts for the money.
accounts for the number of candy pieces. You will still use the relationship after you find your first variable's value.

Since the question is, how many chocolate bars, try just substituting for g.
From the piece count equation, g=40-b. Substitute:


Solve for b.

RELATED QUESTIONS

Britney is going to the candy store to buy 20 pieces of candy. She is going to buy... (answered by lwsshak3,josgarithmetic)
terry bought some gum and candy. the number of packages of gum was one more than the... (answered by josmiceli)
At a store, you are interested in purchasing a candy bar and a piece of bubble gum.... (answered by math_tutor2020)
A student has 83 coins worth a total of $12.05. Each coin is either a Dime (10 cents) or (answered by ankor@dixie-net.com)
the school canteen sold 120 candies and bubble gums to the amount of 35 pesos. if a candy (answered by richwmiller)
sally bought three chocolate bars and a pack of gum and $1.75. Jake bought two chocolate... (answered by nihat)
3 pieces of gum and 8 peices of candy cost 74 cents. 5 pieces of gum and 9 pieces of... (answered by lynnlo,Alan3354)
Sally bought three chocolate bars and a pack of gum and paid $1.75. Jake bought two... (answered by checkley71,solver91311)
Sally bought three chocolate bars and a pack of gum and paid $1.75. Jake bought two... (answered by Nate)