Answer:
22 students
Explanation:
Given,
Total number of students = 40,
∵ Number of students who play viola =
of the total students
=

= 10
Also, number of students who play cello =
of the total students
=

= 8
So, the remaining students = total students - students who play viola - students who play cello
= 40 - 10 - 8
= 22
Hence, 22 students play violin.