document.write( "Question 380289: Mrs. Ballo's second grade class of 30 conducted a survey of pet ownership and found: 8 students owned a cat, 15 owned a dog and 5 owned both. How many of the students owned no dogs?\r
\n" ); document.write( "\n" ); document.write( "The answer I found of 8 was incorrect and not sure how to go about this.
\n" ); document.write( "

Algebra.Com's Answer #269953 by richard1234(7193)\"\" \"About 
You can put this solution on YOUR website!
There are 15 who own dogs, so 30-15 or 15 do not own a dog.\r
\n" ); document.write( "\n" ); document.write( "Or, since there are 5 that own both, then 3 students own a cat (only), 10 own a dog (only) and 5 own both. It follows that 12 students have no pets (or own pets other than cats or dogs). Thus the number of people who don't have a dog is 3+12=15.
\n" ); document.write( "
\n" );