Final answer:
To determine who scored higher, compare the percentage of correct answers. You scored higher than your friend with 70% compared to their 62.5%.
Step-by-step explanation:
To determine who scored higher, we need to compare the percentage of correct answers for each person. Your friend got 25 out of 40 questions correct, which is 62.5%. You scored a 70% on the quiz. Therefore, you scored higher than your friend.