document.write( "Question 216271: A Teacher asked her class to raise their hand if they liked carrots. 11 students raised their hands. There were 9 students who raised their hands liking spinach. There were 7 students who did not like either of the vegetables. All 24 students in the class voted. how many students liked both carrots and spinach? \n" ); document.write( "
Algebra.Com's Answer #163322 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
A Teacher asked her class to raise their hand if they liked carrots. 11 students raised their hands. There were 9 students who raised their hands liking spinach. There were 7 students who did not like either of the vegetables. All 24 students in the class voted. how many students liked both carrots and spinach?
\n" ); document.write( "------------------------------------------
\n" ); document.write( "(carrots and spinach) = (carrots)+(spinach)-(carrots or spinach)
\n" ); document.write( "carrots and spinach) = 11 + 9 - (24-7)
\n" ); document.write( "(carrots and spinach) = 20-14 = 6
\n" ); document.write( "-------------------------------
\n" ); document.write( "6 students liked both carrots and spinach
\n" ); document.write( "-------------------------------
\n" ); document.write( "You can see all this if you can draw a Venn diagram
\n" ); document.write( "-------------------------------
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" );