document.write( "Question 1021861: You have a plate of 40 cookies. Ten have chocolate chips and 12 have pecans. Of the cookies mentioned in the preceding sentence, 5 have both chocolate chips and pecans. You select a cookie at random. What is the probability that your cookie has chocolate chips or pecans? \n" ); document.write( "
Algebra.Com's Answer #637753 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
So then 40 cookies in all,
\n" ); document.write( "\"10-5=5\" only chocolate chip
\n" ); document.write( "\"12-5=7\" only pecan
\n" ); document.write( "\"5\" both chocolate chip/pecan
\n" ); document.write( "So then choosing chocolate chip or pecan,
\n" ); document.write( "\"P=%285%2B7%2B5%29%2F40\"
\n" ); document.write( "\"P=17%2F40\"
\n" ); document.write( "
\n" ); document.write( "
\n" );