In a class of 40 students, 24 like to play guitar and 25 like to piano. If each student likes at least one of the musical instrument, then how many like to play both piano and guitar?
A
9
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
17
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
5
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
10
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is A 9 Let G be the set of students who like to play guitar and P be the set of students who like to play piano.
Then, (G∪P) be the set of students who like play at least one musical instrument: