Asked by Jeremiah
Develop an Algorithm and Flowchart that accept the score/mark of a student in an examination and outputs the grade obtained by the students.
Answers
Answered by
oobleck
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
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
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.