Develop an Algorithm and Flowchart that accept the score/mark of a student in an examination and outputs the grade obtained by the students.

1 answer

scores = [60,70,80,90,100]
grades = ["F","D","C","B","A"]
read score
for i=1..5
if score <= scores[i] then {grade = grades[i];break}
next i
print grade