document.write( "Question 763194: 7 boys and 7 girls went out to watch a movie. How many ways can they be seated if boys are to sit together and so with the girls? \n" ); document.write( "
Algebra.Com's Answer #464603 by ramkikk66(644)\"\" \"About 
You can put this solution on YOUR website!
If all the boys have to sit together, and so do all the girls,\r
\n" ); document.write( "\n" ); document.write( "Consider all the boys as a single unit and all the girls as another unit. So there are only 2 units which can be arranged in 2! = 2 ways.\r
\n" ); document.write( "\n" ); document.write( "However, within each unit, the 7 people (boys or girls) can be arranged in 7! ways.\r
\n" ); document.write( "\n" ); document.write( "Hence the total number of possible arrangements = 7! * 7! * 2 = 50803200 ways.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( ":)
\n" ); document.write( "
\n" );