In order to avoid eating foods students in the classroom, affect their own and other students' attention, the school is not allowed to eat in the classroom students.
In order to avoid students eating food in class and affecting their own and other students' attention, the school does not allow students to eat in the classroom.
In order to prevent students from eating in the classroom and affecting their attention and that of other students, the school does not allow students to eat in the classroom.