document.write( "Question 764630: Ice cream cones cost $1.10 and sundaes cost $2.35. I bought 172 cones and sundaes were $294.20. how many cones and sundaes were sold? \n" ); document.write( "
Algebra.Com's Answer #465552 by DrBeeee(684)\"\" \"About 
You can put this solution on YOUR website!
Let c = number of cones
\n" ); document.write( "Let s = number of sundaes\r
\n" ); document.write( "\n" ); document.write( "You set up two equations, one for total cost and one for the number of items purchased.
\n" ); document.write( "(1) 1.10*c + 2.35*s = 294.20
\n" ); document.write( "(2) c + s = 172
\n" ); document.write( "Solve (2) for c and substitute it into (1) and get
\n" ); document.write( "(3) 1.10*(172-s) + 2.35*s = 294.2 or
\n" ); document.write( "(4) 189.2 - 1.10s + 2.35s = 294.2 or
\n" ); document.write( "(5) 1.25s = 294.2 - 189.2 or
\n" ); document.write( "(6) 1.25s = 105 or
\n" ); document.write( "(7) s = 105/1.25 or
\n" ); document.write( "(8) s = 84
\n" ); document.write( "Then from (2) we have
\n" ); document.write( "(9) c = 172 - 84 or
\n" ); document.write( "(10) c = 88
\n" ); document.write( "Let's check this with (1).
\n" ); document.write( "Is (1.1*88 + 2.35*84 = 294.2)?
\n" ); document.write( "Is (96.8 + 197.4 = 294.2)?
\n" ); document.write( "Is (294.2 = 294.2)? Yes
\n" ); document.write( "Answer: You bought 88 ice cream cones and 84 sundaes.\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );