A student answered 80% of the questions on a 45-question test correctly. How many questions did the student answer correctly?
9
27
36
40