In order to calculate how many answers the student did correctly, we just need to find 80% of 30, that is, the product of 80% and 30.
Knowing that 80% corresponds to 0.8, we have:
[tex]80\text{\% of }30=0.8\cdot30=24[/tex]So the students answered 24 questions correctly.