document.write( "Question 231586: In how many ways can a person enter a room that has three doors and leave it by (a) a different door? (b) any door? \n" ); document.write( "
Algebra.Com's Answer #171353 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
In how many ways can a person enter a room that has three doors and leave it by
\n" ); document.write( "(a) a different door?
\n" ); document.write( "# of ways to enter: 3
\n" ); document.write( "# of ways to leave:
\n" ); document.write( "Total number of choices: 3*2 = 6
\n" ); document.write( "---------------------------------------\r
\n" ); document.write( "\n" ); document.write( "(b) any door?
\n" ); document.write( "# of ways to enter: 3
\n" ); document.write( "# of ways to leave: 3
\n" ); document.write( "Total number of choices: 3*3 = 9
\n" ); document.write( "=====================================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" ); document.write( "
\n" );