write a program to calculate the percentage of a student using functions and exception handling.
Answers
Answered by
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 = (average / 500) * 100. Finally, print resultant values total, average and percentage.
Similar questions
Accountancy,
2 months ago
English,
2 months ago
Psychology,
4 months ago
Biology,
4 months ago
Science,
11 months ago
Math,
11 months ago
Geography,
11 months ago