Question #3: Analyze a C++ program that asks the user to enter his/her assessment grades as per the table below.
Assessment Name Assessment Weight
Assignment 1 15%
Midterm 20%
Lab 20%
Final Assignment 15%
Final Exam 30%
All the grades are requested to be entered out of 100. The program must then display the total grade achieved in the course by applying the correct weight of each assessment and adding it up.
At the end, a bonus 7.5% is applied to the total grade. The program must also display the total grade after adding the bonus.
a) Design a solution algorithm for the above problem.
(1 mark) (1 mark) (4 marks)
b) List the four steps that you will follow in writing your code.
c) Write a C++ code to implement the algorithm.
d) Run the program and take a screenshot of the output. The output must exactly match the below sample run output. Hence, make use of output manipulation functions.
(2 marks)