document.write( "Question 441255: Mary has 30 hats. She has 5 green, 7 blue, 12 red, and 6 brown. If she selects two hats at random, what is the probability that both hats are different colors? Round your answer to two decimal places. \n" ); document.write( "
Algebra.Com's Answer #304597 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
Mary has 30 hats. She has 5 green, 7 blue, 12 red, and 6 brown. If she selects two hats at random, what is the probability that both hats are different colors? Round your answer to two decimal places.
\n" ); document.write( "---------------
\n" ); document.write( "Ans: 1 - P(hats are same color)
\n" ); document.write( "----
\n" ); document.write( "= 1 - [5C2 + 7C2 + 12C2 + 6C2]/30C2
\n" ); document.write( "-----
\n" ); document.write( "= 1 - [112/435]
\n" ); document.write( "-----
\n" ); document.write( "= 323/435
\n" ); document.write( "----
\n" ); document.write( "=0.743
\n" ); document.write( "==========
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "==========
\n" ); document.write( "
\n" ); document.write( "
\n" );