posted by Glen .
On a hot summer day, Sunny bought 18 ice creams for her team members. Some were $7 each, and the others were $10 each. If she paid $165 in total, how many $7 ice creams did she buy?
number of cheaper ice creams --- x
number of more expensive ones ---- 18-x
solve for x
7x + 10(18-x) = 165
( I know things are getting expensive, but $10 ice creams ???)