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 3 languages , then how many students are there in the class ?
t = 6 g = 15 h = 6 students can speak two languages ( suppose tamil & gujarati ) = 2 student can speak all the three languages = 1 student can speak only tamil language = 6 - 2 - 1 = 3 student can speak only gujarati language = 15 - 2 - 1 = 12 student can speak only h language = 6 - 1 = 5 so , total number of student = 2 + 1 + 3 + 12 + 5 = 23 answer : d
subtract(subtract(add(6, add(6, 15)), 3), const_2)