Sergio got 80 percent on his test. If he answered 24 questions correctly, how many questions were on the test?
a) 30
b) 28
c) 32
d) 20