Out of 100 persons 50 drink Pepsi, 40 drink coke and 20 drink both Pepsi and coke. The number of persons who neither take Pepsi nor coke is?

Out of 100 persons 50 drink Pepsi, 40 drink coke and 20 drink both Pepsi and coke. The number of persons who neither take Pepsi nor coke is?

Explanation

Total people = 100

Pepsi drinkers = 50

Coke drinkers = 40

Both = 20

People drinking Pepsi or Coke = Pepsi + Coke - Both

= 50 + 40 - 20

= 70

People drinking neither = Total - People drinking Pepsi or Coke

= 100 - 70

= 30