Computer Science, asked by pthakur205, 8 months ago

To calculate total marks of a student in 5 subject in calc

Answers

Answered by xSahiBx
0

Answer:

_____________________________________

Logic to find total, average and percentage

Input marks of five subjects. ...

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 .

_____________________________________

Similar questions