document.write( "Question 350696: 40 students bought caps at the baseball game. Plain Caps cost 4.00 each and detailed Caps cost 6.00 each. If the total bill was 336.00 how many students bought the detailed cap? \n" ); document.write( "
Algebra.Com's Answer #250696 by checkley77(12844)\"\" \"About 
You can put this solution on YOUR website!
PROBLEM DOES NOT COMPUTE:
\n" ); document.write( "IF all the $6 hats were sold the total sales would be 6*40=$240
\n" ); document.write( "No combination of $6 & $4 hats would result in $336 sales.
\n" ); document.write( "PROOF:
\n" ); document.write( "6x+4(40-x)=336
\n" ); document.write( "6x+160-4x=336
\n" ); document.write( "2x=336-160
\n" ); document.write( "2x=176
\n" ); document.write( "X=176/2
\n" ); document.write( "X=88 number of $6 hats which exceeds the total of 40 hats sold.
\n" ); document.write( "
\n" );