document.write( "Question 257069: A survey of residents in a community showed the following
\n" ); document.write( " information about their lunch eating habits:
\n" ); document.write( "
\n" ); document.write( " 29 ate salads
\n" ); document.write( " 26 ate sandwiches
\n" ); document.write( " 25 ate sweets
\n" ); document.write( " 13 ate both a salad and a sandwich
\n" ); document.write( " 11 ate both a sandwich and sweets
\n" ); document.write( " 18 ate both a salad and sweets
\n" ); document.write( " 6 ate all three types
\n" ); document.write( " 7 ate none of them\r
\n" ); document.write( "\n" ); document.write( " How many ate sandwiches and sweets but not a salad?
\n" ); document.write( "

Algebra.Com's Answer #189084 by drk(1908)\"\" \"About 
You can put this solution on YOUR website!
Draw a 3 circle Venn diagram and label each circle: salad, sandwich, and sweets.
\n" ); document.write( "PLace a small horizontal line in each space and then one on the outside of the Venn diagram. Numbers will go on these lines.
\n" ); document.write( "step 1 - place 7 on the outside line
\n" ); document.write( "step 2 - ALWAYS start from the \"all three\" number and work your way out.
\n" ); document.write( "6 goes into the center oval
\n" ); document.write( "I have
\n" ); document.write( "7, 6 in the salad - sandwich ovals
\n" ); document.write( "5, 6 in the sandwich, sweets ovals
\n" ); document.write( "12, 6 in the salad, sweets ovals
\n" ); document.write( "All by itself I have 8 sandwich, 2 sweet, and 9 salad
\n" ); document.write( "--
\n" ); document.write( "sandwiches and sweets is: 8 + 7 + 6 + 5 + 2 + 12 = 37
\n" ); document.write( "we minus the overlapping region of salad or 12 + 6 = 18 .
\n" ); document.write( "So, it appears we get 37-18 = 19 people.
\n" ); document.write( "
\n" );