In order to calculate the total number of students, we have that if 24% of the students purchased lunch, the other 76% brought lunch from home, and that percentage corresponds to 190 students.
Then, using a rule of three, we have:
So the total number of students is 250.