Question: Q4: Write a C++ program that helps an instructor to calculate the total marks and compute its corresponding grade for a subject. Let the subject

 Q4: Write a C++ program that helps an instructor to calculatethe total marks and compute its corresponding grade for a subject. Let

Q4: Write a C++ program that helps an instructor to calculate the total marks and compute its corresponding grade for a subject. Let the subject marks consist of three items, i.e. Item Course work Lab work Final exam Total Marks 25% 25% 50% 100% The program let the user enter marks for each course item, calculate total marks of the subject, and compute grade of the subject based on the following table. Grade F D Percentage 0-59% 60-69% 70-79% 80-89% 90-100% C B A Sample input/output: Enter course work, lab work and final exam marks 20.5 18.5 40.0 Total Marks: 79 Grade: C Enter course work, lab work and final exam marks 17.8 10.2 36.1 Total Marks: 64.1 Grade: D

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!