Calculate the total for each student - calculate the


Write a C++ program that prompts the user to enter the ID of students with their marks in midtem, course work, and final. The program should then do the following:

1. Calculate the total for each student

2. Calculate the average for each of the assessments

3. Show the minimum and maximum marks for each assessments

The program output should look as below

Program design

1. The funclion readID: purpose of the function is to read students IDs

2. The function readMT: purpose of the function is to read midterm marks

3. The function readCW: purpose of the function is to read course work marks

4. The function readFinal: purpose of the function is to read the final marks

5. The function getTotal: purpose of the function is to calculate the total mark of the course for each students

6. The function getGrade: purpose of the function is to calculate the grade for each student based on their total

7. The function displayResult: purpose of the function is to display the marks and total for each as per the output shown above.

8. Make sure that marks should not exceed the assigned percentage and not negative, i.e midterm should not exceed 20 and 40 for both course work and final

9. Calculation and displaying averages, minimum and maximum marks will be decided by you when writing the program.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Calculate the total for each student - calculate the
Reference No:- TGS01481038

Now Priced at $10 (50% Discount)

Recommended (96%)

Rated (4.8/5)