Given a numeric score (integer), return the corresponding letter grade as a string.
The grading scale is:
"A""B""C""D""F"If the score is outside the range 0–100, return "Invalid".
score = 95"A"score = 72"C"score = -1"Invalid"-1000 <= score <= 1000score is an integer.Run your code to see results
Use Cmd+Enter to run