Asked by Sneha

Algorithm to calculate total marks of five subject calculate percentage and specify grad

Answers

Answered by oobleck
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.
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions