To find the percentage of students who passed the test, you can use the formula:
\[ \text{Percentage} = \left( \frac{\text{Number of students who passed}}{\text{Total number of students}} \right) \times 100 \]
In this case, the number of students who passed is 18 and the total number of students is 24.
\[ \text{Percentage} = \left( \frac{18}{24} \right) \times 100 \]
Now, calculate the fraction:
\[ \frac{18}{24} = 0.75 \]
Now, multiply by 100:
\[ 0.75 \times 100 = 75 \]
So, 75% of the students passed the test.