in a class total 34 students, 16 are have a brother, 15 are have sisters, 9 students do n ' t have either brothers or sisters. find the number of students having both brother and sisters. Choose the correct choice from the following choices:
A) 4
B) 5
C) 6
D) 7
E) 8
<gadget id="calculator">16 + 15</gadget>
<output>31</output>

<gadget id="calculator">34 - 9</gadget>
<output>25</output>

<gadget id="calculator">31 - 25</gadget>
<output>6</output>

<result>C</result>
in a class total 34 students, 16 are have a brother, 15 are have sisters, 9 students do n ' t have either brothers or sisters. find the number of students having both brother and sisters.
subtract(add(16, 15), subtract(34, 9))
total number of students = 34 let a be the number of students have a brothers . let b be the number of students have a sisters . aub = number of students have either brothers or sisters = 34 - 9 = 25 n ( aub ) = n ( a ) + n ( b ) - n ( anb ) 25 = 16 + 15 - n ( anb ) n ( anb ) = 31 - 25 n ( anb ) = 6 the number of students having both brother and sisters = 6 answer : c