document.write( "Question 811579: At a carnival, admission costs $7, lunch costs $9, and each ride costs $2. If you have $30 to spend, how many rides, r, can purchase? \n" ); document.write( "
Algebra.Com's Answer #488802 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
At a carnival, admission costs $7, lunch costs $9, and each ride costs $2. If you have $30 to spend, how many rides, r, can purchase?
\n" ); document.write( "-----------------
\n" ); document.write( "You have to pay admission, so you're left with $23
\n" ); document.write( "---
\n" ); document.write( "23/2 = 11.5
\n" ); document.write( "--> 11 rides
\n" ); document.write( "
\n" ); document.write( "
\n" );