In a company meeting, coffee and cake were served during the break. Of the 50 people who attended the meeting, 30 ate cake while 34 took coffee.

In a company meeting, coffee and cake were served during the break. Of the 50 people who attended the meeting, 30 ate cake while 34 took coffee. If there were 22 people who had both cake and coffee, how many have neither coffee nor cake?

A. 5 C. 7
B. 6 D. 8

Solution