Answer:
4 students
Step-by-step explanation:
As shown in the diagram, let U=[The total number of students questioned]
[tex] \implies n(U) = 10[/tex]
A=[Those who liked peanut butter ]
[tex]\implies n(A) =18[/tex]
B=[Those who liked jam ]
[tex] \implies n(B) = 10[/tex]
x = those who like both peanut butter and jam.
Also 6 liked neither peanut butter nor jam.
From the diagram we can write the mathematical equation as follow and solve for x
[tex]30 = 18 - x + x + 10 - x + 6 [/tex]
[tex] \implies 30 = 34- x [/tex]
We add x and subtract 30 to both sides.
[tex] \implies 30 - 30 + x = 34- x + x - 30[/tex]
[tex]\implies x = 4[/tex]
Therefore 4 students like both peanut butter and jam.