Write a program that reads a list of scores and then assigns grades based on the following scheme:
The grade is A if score is >= best – 10.
The grade is B if score is >= best- 20.
The grade is C if score is > = best – 30
The grade is D if score is >= best-40.
The grade is F otherwise
Output:
![](https://gotit-pro.com/wp-content/uploads/2021/05/output.png)
![](https://gotit-pro.com/wp-content/uploads/2021/05/icon-verified-1.png)
![](https://gotit-pro.com/wp-content/uploads/2021/05/info.png)
Student review: (31 ratings)
30 out of 31 people found this solution helpful.