Write an algorithm to enter the marks of five subject of a student and calculate his percentage
Answers
Answered by
12
Answer:
Steps of Algorithm to calculate sum of five subject marks to find the percentage are as given below:
Firstly collect the data of all the subjects.
Calculate the total sum of all the subjects.
Now use the formula for sum of subjects and calculate the average.
The formula here will be percentage=total marks/total subjects*100
Now get your percentage.
Answered by
16
Answer:
1 start
2 accept a five subject marks i. e. a, b, c, d, e
3 perform addition i. e. z = a+b+c+d+e
4 display addition I. e. z
5 calculate the percentage I. e p = a+b+c+d+e/5×100
display the percentage I. e. p
6 stop
Similar questions