in the city of san durango , 60 people own cats , dogs , or rabbits . if 30 people owned cats , 40 owned dogs , 16 owned rabbits , and 12 owned exactly two of the 3 types of pet , how many people owned all 3 ?
you are considering a case when cat dogs and rabbit are not exactly equal to 12 . the solution shall be 60 = 30 + 40 + 16 - 12 - 2 x and hence x shall be 7 . answer d
divide(subtract(subtract(add(add(30, 40), 16), 12), 60), const_2)