Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Quizzes are next. Ask the user to enter the number of quizzes that have been tak

ID: 441819 • Letter: Q

Question

Quizzes are next. Ask the user to enter the number of quizzes that have been taken during the semester. If the number of quizzes is greater than 0, write a do...while loop that will calculate the total number of quiz points. The body of the loop should: prompt the user for a single quiz score. This prompt should include the quiz number. add the single quiz score to the total quiz points earned If more than 2 quizzes were taken, ask the user for the sum of the two lowest quiz scores and calculate the maximum possible quiz points using the formula: Maximum Possible Quiz Points = (number of quizzes - 2) * 10 If 2 or fewer quizzes were taken, set the sum of the two lowest quizzes to 0 and calculate the maximum possible quiz points using the formula: Maximum Possible Quiz Points = number of quizzes * 10 Use the sum of the two lowest quiz scores and the maximum possible quiz points to calculate the quiz average using the formula: Quiz Average = (total quiz points - sum of the two lowest quiz scores) / Maximum Possible Quiz Points * 100 If no quizzes have been taken at this point in the semester, set the quiz average to 0.0.

Explanation / Answer

Since you need to later exclude the lowest values etc... int programNumber; int maxPoints = 0 int actualPoints = 0; for (programNumber = 0; programNumber