In a class, 6 students can speak Tamil, 15 can speak Gujarati and 6 can speak H. If two students can speak two languages and one student can speak all the three languages, then how many students are there in the class?  Select the correct option.
A) 20  B) 21  C) 22  D) 23  E) 24
T = 6   G = 15   H = 6   students can speak two languages (suppose Tamil &amp; Gujarati) = 2   student can speak all the three languages = 1   student can speak only Tamil language = 6-2-1= 
<gadget id="calculator">6-2-1</gadget>
<output>3</output>
3   student can speak only Gujarati language= 15-2-1= 
<gadget id="calculator">15-2-1</gadget>
<output>12</output>
12   student can speak only H language= 6-1= 
<gadget id="calculator">6-1</gadget>
<output>5</output>
5   So, Total number of student= 2+1+3+12+5= 
<gadget id="calculator">2+1+3+12+5</gadget>
<output>23</output>
23   ANSWER:23
<result>D</result>
In a class, 6 students can speak Tamil, 15 can speak Gujarati and 6 can speak H. If two students can speak two languages and one student can speak all the three languages, then how many students are there in the class?