document.write( "Question 150907: Jerry's Drive-In recently sold small soft drinks for $1, medium soft drinks for $1.15, and largesoft drinks for $1.30. During lunch-time rush, tome sold 40 soft drinks for a total of $45.25. The number of small and large drinks, comboned, was fewer than the number of medium drinks. How many drinks of each size were sold? \n" ); document.write( "
Algebra.Com's Answer #110847 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Suppose he sold all medium-size drinks
\n" ); document.write( "That would be \"1.15%2A40+=+46\"dollars worth
\n" ); document.write( "and that's too much
\n" ); document.write( "Her's a chart to find # drinks that total $45.25:
\n" ); document.write( " sm - med - lg - cost
\n" ); document.write( " 1 -- 39 -- 0 -- 45.85 (still too high)
\n" ); document.write( " 2 -- 38 -- 0 -- 44.70 (now too small)
\n" ); document.write( " 2 -- 38 -- 1 -- 46.00 (too high again)
\n" ); document.write( " 2 -- 37 -- 1 -- 45.85 (close, but too high)
\n" ); document.write( " 3 -- 37 -- 0 -- 45.55 (closer, but high)
\n" ); document.write( " 3 -- 36 -- 1 -- 45.70 (higher still)
\n" ); document.write( " 4 -- 36 -- 0 -- 45.40 (closest yet, a little high)
\n" ); document.write( " 4 -- 35 -- 0 -- 44.25 (I need 1 more sm drink)
\n" ); document.write( " 5 -- 35 -- 0 -- 45.25 Bingo
\n" ); document.write( "-------------------------
\n" ); document.write( "5 small drinks and 35 med drinks were sold
\n" ); document.write( "Any other way that works is OK, too
\n" ); document.write( "
\n" );