The correct option is B 20
Given, the ration will last for 50 days if 80 students were there.
We know that if the ration lasts for fewer days, there is an increase in the number of students in the hostel.
So, Number of days(x)∝1Number of students(y)
∴x1x2 = y2y1
Given,
x1 = 50 days
y1 = 80 students
x2 = 40 days
and y2 = Total number of students
⇒ y2 = x1 × y1x2
⇒ y2 = 50 × 8040 = 100
So, the number of students that joined = 100 - 80 = 20