Question: This is for a C++ class Write a program that calculates the total grade for N assignments as a percentage. The user should input the
This is for a C++ class


Write a program that calculates the total grade for N assignments as a percentage. The user should input the value for Nfollowed by each of the N scores and totals. Calculate the overall percentage, which is the sum of the total points earned divided by the total points possible, and output it as a percentage. You can make the following assumptions: N is an integer, the scores and totals are integers, but the percentage can be a double Sample output: Number of assignments: 3 Points received for assignment 1 is 1 Total points possible for assignment lis 2 Points received for assignment 2 is 3 Total points possible for assignment 2 is 3 Points received for assignment 3 is 3 Total points possible for assignment 3 is 5 Your total grade is 7 out of 10 70
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
