In a computer science class, students can study C++ and Java. The number of studying C++ is a, the number of studying Java is b, and the number of studying both is p. If the number of studying neither is m, which of the following can express the total number of students in that class in terms of a, b, m, and p?
-
Aa+b+m+p
-
Ba+b+m-p
-
Ca+b+m-2p
-
Da+b-m-p
-
Ea+b+2m-p
显示答案
正确答案: B