Answer :
Final answer:
The overall percentage for N classroom exercises can be calculated by dividing the sum of the total points earned by the total points possible and multiplying it by 100. This gives the percentage of the total grade.
Explanation:
To calculate the overall percentage for N classroom exercises, follow these steps:
- Ask the user to input the value for N, which represents the number of exercises.
- Using a loop, ask the user to input the score received for each exercise and add it to a variable that keeps track of the total points earned.
- Ask the user to input the total points possible for each exercise and add it to a variable that keeps track of the total points possible.
- Calculate the overall percentage by dividing the total points earned by the total points possible and multiplying it by 100.
- Output the overall percentage as a percentage.
Learn more about calculating the total grade for n classroom exercises here:
https://brainly.com/question/18402609
#SPJ14