You're using the assignment operator in your if statements, you should be using the comparison operator:
These statements here don't make sense to me:
new TriageRubric(GradeMapper(percent));
What are you trying to do there? Trying to create a new instance of TriageRubric? If so, I see a few things:
- The syntax is off to create a new instance
- I don't see any constructor accepting arguments
- You cannot make an instance of an interface
Greetings.