Question: Write a c++ program that computes a weighted average giving the following weights. Homework: 10% Projects: 35% Quizzes: 10% Exms: 30% Final Exm: 15% Based

  1. Write a c++ program that computes a weighted average giving the following weights.

Homework: 10% Projects: 35% Quizzes: 10% Exms: 30% Final Exm: 15%

Based on the average assign a grade of A, B, C, D or F according to: 90+A, 80+B, 70+C, 60+D, anything less is F.

Do a compile-time initialization with the following values: Homework: 97; Projects: 82; Quizzes: 60; Exms: 75; Final Exm 80.

Display all values, including the weights, appropriately labeled, and formatted. Rerun the application with different values.

(Along with explanation in different steps).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!