Algorithm to find Sum and average of 5 subject marks.
Answers
Answered by
1
Answer:
Logic to find total, average and percentage
Calculate sum of all subjects and store in total = eng + phy + chem + math + comp . Divide sum of all subjects by total number of subject to find average i.e. average = total / 5 . Calculate percentage using percentage = (total / 500) * 100 .
#hope it is helpful
#Mark as brainliest
Similar questions