InterviewSolution
Saved Bookmarks
| 1. |
Write the function to calculate total marks of all subjects |
|
Answer» if it helps you please mark me as BRIANLIEST and follow me Explanation: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 . |
|