Search⌘ K

Challenge: Calculate Overall Percentage of Student's Marks

Understand how to use C++ structures to store student information and calculate overall percentage based on marks obtained in multiple subjects. Learn to apply basic formulas and write functions to process structured data effectively.

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 ...