Jessica is having a sweet tooth and bought 10 chocolate bars, 10 packs of gummy bears, and 20 bags of chocolate chips. Her total rang up to $150. If the cost of a pack of gummy bears is $2 and a bag of chocolate chips costs $5, how much does 1 chocolate bar cost?
The gummy bears cost 10*2=$<T>multiply(10, 2)=20
The chocolate chips cost 5*20=$<T>multiply(5, 20)=100
The total cost for these two is 100+20=$<T>add(100, 20)=120
The chocolate bars in total cost 150-120=$<T>subtract(150, 120)=30
A single chocolate bar costs 30/10=$<T>divide(30, 10)=3.0
