b) You are required to produce a C++ program which solves the following: Calculate the final marks for a student in Program Design and Implementation and Foundation Mathematics modules. You should take marks from a user for all of the below mentioned assessments out of 100, and calculate and display the final marks and grade of both modules based on the weightage (percentage) of each assessment and the grade given below: 1- Program Design and Implementation Assessments Percentage: In-Class Test : 16% Written Exam : 24% Coursework (Portfolio): 60%   2- Engineering Experimentation Assessments Percentage: Written Exam-1 : 13% Written Exam-2: 75% Coursework: 12%   Grade: 0-39 = F 40-49= C 50-59= B 60-69= B+ 70-79= A 80-100=A+   Sample Input and output: “Welcome to Grade Calculation.” Program Design and Implementation Marks Entry Enter In-Class Test Marks = 50 Enter Written Exam Marks = 60 Enter Coursework Marks = 65 Foundation Mathematics Marks Entry Enter Written Exam-1 Marks = 40 Enter Written Exam-2 Marks = 55 Enter Coursework Marks = 60 Final Marks in Program Design and Implementation: 61.4 Program Design and Implementation Grade: B+ Final Marks in Foundation Mathematics: 53.65 Foundation Mathematics Grade: B

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter6: User-defined Functions
Section: Chapter Questions
Problem 20SA
icon
Related questions
Question

b) You are required to produce a C++ program which solves the following:


Calculate the final marks for a student in Program Design and Implementation and
Foundation Mathematics modules. You should take marks from a user for all of the below
mentioned assessments out of 100, and calculate and display the final marks and grade
of both modules based on the weightage (percentage) of each assessment and the grade
given below:


1- Program Design and Implementation Assessments Percentage:
In-Class Test : 16%
Written Exam : 24%
Coursework (Portfolio): 60%

 


2- Engineering Experimentation Assessments Percentage:
Written Exam-1 : 13%
Written Exam-2: 75%
Coursework: 12%

 


Grade:
0-39 = F
40-49= C
50-59= B
60-69= B+
70-79= A
80-100=A+

 


Sample Input and output:
“Welcome to Grade Calculation.”
Program Design and Implementation Marks Entry
Enter In-Class Test Marks = 50
Enter Written Exam Marks = 60
Enter Coursework Marks = 65
Foundation Mathematics Marks Entry
Enter Written Exam-1 Marks = 40
Enter Written Exam-2 Marks = 55
Enter Coursework Marks = 60
Final Marks in Program Design and Implementation: 61.4
Program Design and Implementation Grade: B+
Final Marks in Foundation Mathematics: 53.65
Foundation Mathematics Grade: B

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 4 images

Blurred answer
Knowledge Booster
ADT and Class
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage