Solution:As per the question, three girls can’t occupy consecutive seats but two can. Therefore, if we find the number of ways in which all three girls occupy consecutive seats and subtract this number from the total number of ways in which the five people can be arranged among themselves, we will get the required answer.
5 students can be arranged among themselves in ⁵P₅ ways
= 120 ways.
Assume that the 3 girls are one entity.
The total number of ways in which they can be arranged among themselves
= 3! = 6
Also, the set of three girls and the other students can be arranged among themselves in 3! = 6 ways.
Thus, total number of ways in which three girls are together
= 6 × 6 = 36
Thus, number of ways in which all 3 girls will not occupy consecutive seats = 120 − 36 = 84
As per the common explanation, we get
Total number of ways in which three girls are together = 6 × 6 = 36
Hence, option a is correct.