Difference between revisions of "2009 Grade 8 CEMC Gauss Problems/Problem 18"

 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
==Problem==
 
==Problem==
{{Delete|don't want it to be deleted, but move it to 2009 CEMC Gauss (Grade 8) Problems/Problem 18}}
+
{{Delete|this page was moved}}
 
In a class of <math>40</math> students, <math>18</math> said they liked apple pie, <math>15</math> said they liked chocolate cake and <math>12</math> said they did not like either. How many students in the class liked both?
 
In a class of <math>40</math> students, <math>18</math> said they liked apple pie, <math>15</math> said they liked chocolate cake and <math>12</math> said they did not like either. How many students in the class liked both?
  

Latest revision as of 09:52, 1 October 2025

Problem

This page has been proposed for deletion. Reason: this page was moved


Note to sysops: Before deleting, please review: • What links hereDiscussion pageEdit history

In a class of $40$ students, $18$ said they liked apple pie, $15$ said they liked chocolate cake and $12$ said they did not like either. How many students in the class liked both?

$\text{ (A) }\ 15 \qquad\text{ (B) }\ 10 \qquad\text{ (C) }\ 3 \qquad\text{ (D) }\ 7 \qquad\text{ (E) }\ 5$

Solution

Let $x$ be the number of students in the class that liked both apple pie and chocolate cake. This means that $18 - x$ students liked apple pie but not chocolate cake, and $15 - x$ students liked chocolate cake but not apple pie.

We can now add up the individual amounts for people that liked one, both, or neither, and set it equal to the number of students in the class, which is $40$:

$18 - x + 15 - x + x + 12 = 40$

Adding numbers and like-terms together, we get:

$45 - x = 40$

Adding $x$ to both sides, we get:

$x + 40 = 45$

Subtracting $40$ from both sides, we get:

$x = \boxed {\textbf{(E) } 5}$

~anabel.disher