Question: c++ program This code will ask the student to enter his grades in n quizzes (all graded out of 10) and then get the final
c++ program


This code will ask the student to enter his grades in n quizzes (all graded out of 10) and then get the final mark out of a percentage supplied by the student You should create a Function that asks the user to enter the number of Quizzes, the percentage of the Quizzes from the Final Course Mark, and his/her Grade in each Quiz After getting the grades, you should calculate the result using this equation: result = finalPercentage * (( all grades / number of grades )/10) Then, display: "You got: "/ finalPercentage" in quizzes. Your code should have repeating menu with the following options: 1: Run Quiz Calculator 2: Exit the program A sample run of the program would be like: Please choose one of the following options: 1: Run the Quiz Calculator. 2: Quit the Program. 1 How many Quizzes did you take in this Course? 5 What is the Quizzes Percentage in your Course?15 Enter your grade in quiz 1: 5 Enter your grade in quiz 2: 5 Enter your grade in quiz 3: 5 Enter your grade in quiz 4: 5 Enter your grade in quiz 5: 5 You got: 7.5/ 15 in Quizzes. Please choose one of the following options: 1: Run the Quiz Calculator. 2: Quit the Program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
