Ad
  • Custom User Avatar

    exam >= 90 is also wrong in your code. As well as several other conditions, check them all again.

  • Custom User Avatar

    If it's not difficult for you, then could you tell us which tests give the wrong answer for projects > 10 and projects >= 10.

  • Custom User Avatar

    100, if a grade for the exam is more than 90 or if a number of completed projects more than 10.

    exam = 0, projects = 10: expected 100 to equal +0
    

    Obviously with exam = 0 and projects = 10 neither of those conditions is true. The same with exam = 32.

    Check the conditions and the operators you're using. 10 isn't more than 10.