Zhang Wei got A's in all her extracurricular homework, and if she got An in her term paper, she could pass the exam even if she didn't give a class report. Unfortunately, she didn't get an excellent grade in her term paper
Ignore the possibility that if Zhang Wei had to give a class lecture, she wouldn't get an excellent grade in her term paper
she had to give a class report if she wanted to pass the exam.