The teacher of a class wishes to highlight some key student information to school staff whenever they open a student's record. The following are the conditions and the corresponding messages the teacher wishes to be displayed:
- If the attendance of the students is less than 60% and the final year score is less than 50%, then the following message should be displayed:
Student attendance as well as marks are below expectation.
- If only the final year score is less than 50%, then the following message should be displayed:
Student performance is below the expected level.
- If only attendance is below 50%, then the following message should be displayed:
Student attendance is below the expected level.
The student navigates to the ...