Write a program that reads a list of scores separated by a space in one line 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. Sample Run Enter scores: 40557058 Student 0 score is 40 and grade.is C Student 1 score is 55 and grade is B Student 2 score is 70 and grade is
A
Student 3 score is 58 and grade is
B
If you get a logical or runtime error, please refer https://liantgpy.pearsoncmg.com/faq.html.