document.write( "Question 917124: There are 50 students in a class. 24 of them took algebra, 32 of them took biology, and 2 of them took neither courses. How many students took both courses? \n" ); document.write( "
Algebra.Com's Answer #556531 by ewatrrr(24785)\"\" \"About 
You can put this solution on YOUR website!
24 + 32 = 56
\n" ); document.write( "50-2 = 48 took either one or both
\n" ); document.write( "56 - 48 = 8 took both courses
\n" ); document.write( "and... checking
\n" ); document.write( "16 + 24 + 8 = 48
\n" ); document.write( "
\n" );