C Program For Calculate Total Marks Of More Than 6 Subjects And percentage. you need to calculate the percentage of marks and also print the marks of each subject.
Logic: First we will ask the user for the total number of the subject after that we will enter marks of all those subjects. Now we will calculate a percentage of marks and print student marks, percentage, and Grade of Student Percentage formula is given Below.
Percentage of Marks = (all subject marks sum) / Total Subject *100 .
Output:
Enter number of subject :
7
Enter The Marks:
65
85
91
45
73
62
51
Percentage Of Student : 67
need an explanation for this answer? contact us directly to get an explanation for this answer