document.write( "Question 237605: at a party , exactly 17 people ate pizza , and exactly 11 people ate hot dogs
\n" ); document.write( "Eight of them ate both. Four people ate neither. The number of people at the party was\r
\n" ); document.write( "\n" ); document.write( "(a) 21 (b) 24 (c) 28 (d) 32 (e) 40
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #174709 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
17 ate pizza
\n" ); document.write( "11 ate hotdors
\n" ); document.write( "4 ate neither
\n" ); document.write( "8 ate both.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you have 17 + 11 + 4 = 32\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "out of the 17 + 11, 8 are counted twice so you have to subtract 8.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you have 32 - 8 = 24\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "4 did not eat any hotdogs or pizza
\n" ); document.write( "9 ate only pizza (17-8)
\n" ); document.write( "3 ate only hotdogs (11-8)
\n" ); document.write( "8 ate both pizza and hotdogs\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "4 + 9 + 3 + 8 = 24\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Looks like that's your number.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );