Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 712 Bytes

File metadata and controls

33 lines (27 loc) · 712 Bytes

Grading System

Easy


  1. You are given as input marks of a student.
  2. Display an appropriate message based on the following rules:
    1. for marks above 90, print excellent.
    2. for marks above 80 and less than equal to 90, print good.
    3. for marks above 70 and less than equal to 80, print fair.
    4. for marks above 60 and less than equal to 70, print meets expectations.
    5. for marks less than equal to 60, print below par.

Input Format:

Input is handled for you and provided as variable marks

Output Format:

Appropriate message as per student's marks

Example:

Input: 92
Output: excellent

Constraints:

No Constraints