Scenario

The teacher of a class wishes to highlight some key student information to the 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 student is less than 60 percent and the final year score is less than 50 percent, 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 percent, then the following message should be displayed: Student performance is below the expected level.
  • If only the attendance is below 50 percent, then the following message should be displayed: Student attendance is below the expected level.

Get Mastering Microsoft Dynamics CRM 2016 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.