sum=0
for i=1..5
read score
sum += score
next i
avg = sum/5
grade = ???
There's a lot you left unsaid, regarding how to figure the grade, whether all the scores were based on a scale of 1-100, etc.
Algorithm to calculate total marks of five subject calculate percentage and specify grad
1 answer