Challenge: Calculate Overall Percentage of Student's Marks

Test your knowledge by solving a challenge.

Problem statement

In this challenge, you will be given the marks of a student in 4 subjects out of 100. Your task is to calculate the overall percentage of the student. The basic formula for calculating the percentage is given below:

Percentage = (Marks Obtained / Total Marks)∗100Percentage\ =\ (Marks\ Obtained\ /\ Total\ Marks)*100

Since there are 4 subjects and each subject will be of 100 marks, the total marks will be 400.

Get hands-on with 1200+ tech skills courses.