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, 18 students passed out of 24 total students:
\[ \text{Percentage} = \left( \frac{18}{24} \right) \times 100 \]
First, calculate \(\frac{18}{24}\):
\[ \frac{18}{24} = 0.75 \]
Now, multiply by 100 to get the percentage:
\[ 0.75 \times 100 = 75 \]
So, 75% of the students passed the test.