In a class of 120 students, 25 did not opt for math. 10 did not opt for science and 2 did not opt for either. How many students of the class opted for both math and science?  Choose the correct choice from the following answers: A) 63 B) 95 C) 77 D) 87 E) 48
120 students total   25 did not opt for math   10 did not opt for science   2 did not opt for either   Total of 95 students in math and 8 did not opt for sci but did for math    95-8= 
<gadget id="calculator"> 95-8</gadget>
<output>87</output>
87   87 students of the class opted for both math and science   Answer:   D. 87
<result>D</result>
In a class of 120 students, 25 did not opt for math. 10 did not opt for science and 2 did not opt for either. How many students of the class opted for both math and science?