document.write( "Question 1012931: A class of 30 students took two quizzes. 16 passed the first quiz and 20 passed the second. if four students failed both quizzes, how many passed both? \n" ); document.write( "
Algebra.Com's Answer #629062 by macston(5194)\"\" \"About 
You can put this solution on YOUR website!
16 passed the first and four failed both. That is
\n" ); document.write( "20 out of 30, leaving 10 who failed the first and
\n" ); document.write( "passed the second. Of 20 who passed the second,
\n" ); document.write( "10 had failed the first, leaving 10 who passed both.
\n" ); document.write( ".
\n" ); document.write( "So 4 failed both, 10 failed the first and passed the
\n" ); document.write( "second, 6 passed the first and failed the second, and
\n" ); document.write( "10 passed both. Total: 30
\n" ); document.write( ".
\n" ); document.write( "Four failed both, ten passed both, and 16 passed one
\n" ); document.write( "of two. Total: 30.
\n" ); document.write( ".
\n" ); document.write( "ANSWER: Ten students passed both tests.
\n" ); document.write( ".
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" );