Computer Science, asked by shajhanpur54, 3 months ago

write the function to add the marks of all subjects​

Answers

Answered by harshit4verma2005
0

Answer:

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 . Finally, print resultant values total , average and percentage

Similar questions