Lab Task on Lesson-2

Opened: Wednesday, 7 October 2020, 12:00 AM
Due: Tuesday, 13 October 2020, 11:59 PM
View Make a submission

Suppose, you have been assigned to determine the letter grade of a number. Now, write a python code that will take a number as input and will show you the letter grade of that input.

Input Value
Letter Grade
80 to 100
A+
75 to less than 80
A
70 to less than 75
A-
65 to less than 70
B+
60 to less than 65
B
55 to less than 60
B-
50 to less than 55
C+
45 to less than 50
C
40 to less than 45
D
0 to less than 40
F
Others
Invalid

N.B. You need to submit the code in the provided online editor. There is no need for any file attachments.