Student Grade Analyzer

Easy
#logic #grading

Input: `marks` (int). Return: Grade 'A' (>90), 'B' (>80), 'C' (>70), 'D' (>60), or 'F'.

Example

Input: 95
Output: 'A'
Need a hint?
  • Check ranges: >= 90, >= 80, etc.
Run your code to see output