Final answer:
To determine the number of juniors and seniors in the class, we can set up an equation using the given information and solve for the variables. Using algebraic manipulation, we find that there are 13 seniors and 15 juniors in the class.
Step-by-step explanation:
To solve this problem, let's assume that the number of seniors is represented by 'x'. According to the question, the number of juniors is 24 less than three times the number of seniors, so the number of juniors can be represented by 3x - 24. We know that there are 28 students in total, so we can set up the equation: x + (3x - 24) = 28.
Combining like terms, we get: 4x - 24 = 28.
Adding 24 to both sides, we get: 4x = 52.
Dividing both sides by 4, we get: x = 13.
Therefore, there are 13 seniors and 3(13) - 24 = 15 juniors in the class.