there are between 24 to 40 students in a class. the ratio of boys to girls is 4:7. how many students are in the class.