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.
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!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.