Mario answered 30% of the questions correctly. The test contained a total of 80 questions. How many questions did Mario answer correctly?