Construct a C++ code that satisfies the following: A. 2d-array class record B. First row should include the names of the students

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter12: Points, Classes, Virtual Functions And Abstract Classes
Section: Chapter Questions
Problem 3PE
icon
Related questions
Question
Construct a C++ code that satisfies the following:
A. 2d-array class record
B. First row should include the names of the students
C. The columns should include the Subjects that contain the transmuted grade depending
on the raw grade that will be made input by the user(transmutation table is attached
below)
D. General Weighted Average (Each subject should be computed with its transmuted grade
multiplied to the corresponding number of units of the subject divided by the corresponding
units of the same subject then it will be added to the all the subjects using the same
process and will be divided by the total units of all the subjects, which is 22.)
GWA=([(transmuted grade of ENG 201) (total units of ENG 201)]+[(transmuted grade of ENG
202) (total units of ENG 202)]+[(transmuted grade of ENG 203) (total units of ENG 203)]+
[(transmuted grade of ENG 204) (total units of ENG 204)]+[(transmuted grade of ENG 205)
(total units of ENG 205)]+[(transmuted grade of THY 1) (total units of THY 1)]+[(transmuted
grade of UND SELF) (total units of UND SELF)]+[(transmuted grade of PURP COM) (total
units of PURP COM)]+[(transmuted grade of MMW) (total units of MMW)] / 22 units)),
E.Passed/Failed (if the transmuted grade is greater than or equal to 3.00, then Passed. If
otherwise, then Failed, the student will automatically Fail if they have 5.00 grade)
D.Academic Award (the student will be eligible for dean's list if the student passed and the
Average Grade is not less than 1.75)
General Passed Academic
Weighted /Failed Award
205
1
(3
Names ENG ENG ENG ENG ENG THY UND PURP MMW
201 202 203 204
COM
(3 (1 (4 (1 (1
units units units unit) unit)
)
)
SELF
(3
(3
(3
units)
Average
units)
unit units)
S)
Edward 1.25 1.5
1.0
2.0 1.5
1.25 1.00 1.50 1.75 1.330
Passed Dean's
Lister
Katniss 1.5 1.0
1.25 2.5
1.75 1.00 1.50
2.75
1.00
1.523
Passed Dean's
Lister
Mikay 2.00 3.00 5.00 2.5
1.5 1.75 3.00 3.00
1.5
2.761
Failed None
55-56
78
3.00
Average Raw Transmuated
Grade
Final Grade
Grade
53-54
77
3.00
99-100
100
1.00
76
3.00
97-98
09
1.00
51-52
50
95-96
98
1,00
75
3.00
93-94
97
1.00
47-49
74
5.00
91-92
96
1.00
43-46
73
5.00
89-90
95
72
40-42
1.25
87-88
5,00
85-86
1:50
37-39
71
5.00
83-84
92
1.50
33-36
70
5.00
81-82
91
1.75
30-32
69
5.00
70-80
00
1.75
68
27-29
77-78
1.75
5.00
89
75-76
88
2.00
23-26
67
5.00
73-74
87
2.00
20-22
66
5.00
71-72
86
225
17-19
65
5.00
69-70
85
2.25
13-16
64
5.00
67-68
84
225
65-66
83
2.50
10-12
63
5.00
63-64
82
2.50
7-9
62
5.00
61-62
81
2.75
3-6
61
5.00
59-60
80
2.75
0-2
60
5.00
57-58
79
Transcribed Image Text:Construct a C++ code that satisfies the following: A. 2d-array class record B. First row should include the names of the students C. The columns should include the Subjects that contain the transmuted grade depending on the raw grade that will be made input by the user(transmutation table is attached below) D. General Weighted Average (Each subject should be computed with its transmuted grade multiplied to the corresponding number of units of the subject divided by the corresponding units of the same subject then it will be added to the all the subjects using the same process and will be divided by the total units of all the subjects, which is 22.) GWA=([(transmuted grade of ENG 201) (total units of ENG 201)]+[(transmuted grade of ENG 202) (total units of ENG 202)]+[(transmuted grade of ENG 203) (total units of ENG 203)]+ [(transmuted grade of ENG 204) (total units of ENG 204)]+[(transmuted grade of ENG 205) (total units of ENG 205)]+[(transmuted grade of THY 1) (total units of THY 1)]+[(transmuted grade of UND SELF) (total units of UND SELF)]+[(transmuted grade of PURP COM) (total units of PURP COM)]+[(transmuted grade of MMW) (total units of MMW)] / 22 units)), E.Passed/Failed (if the transmuted grade is greater than or equal to 3.00, then Passed. If otherwise, then Failed, the student will automatically Fail if they have 5.00 grade) D.Academic Award (the student will be eligible for dean's list if the student passed and the Average Grade is not less than 1.75) General Passed Academic Weighted /Failed Award 205 1 (3 Names ENG ENG ENG ENG ENG THY UND PURP MMW 201 202 203 204 COM (3 (1 (4 (1 (1 units units units unit) unit) ) ) SELF (3 (3 (3 units) Average units) unit units) S) Edward 1.25 1.5 1.0 2.0 1.5 1.25 1.00 1.50 1.75 1.330 Passed Dean's Lister Katniss 1.5 1.0 1.25 2.5 1.75 1.00 1.50 2.75 1.00 1.523 Passed Dean's Lister Mikay 2.00 3.00 5.00 2.5 1.5 1.75 3.00 3.00 1.5 2.761 Failed None 55-56 78 3.00 Average Raw Transmuated Grade Final Grade Grade 53-54 77 3.00 99-100 100 1.00 76 3.00 97-98 09 1.00 51-52 50 95-96 98 1,00 75 3.00 93-94 97 1.00 47-49 74 5.00 91-92 96 1.00 43-46 73 5.00 89-90 95 72 40-42 1.25 87-88 5,00 85-86 1:50 37-39 71 5.00 83-84 92 1.50 33-36 70 5.00 81-82 91 1.75 30-32 69 5.00 70-80 00 1.75 68 27-29 77-78 1.75 5.00 89 75-76 88 2.00 23-26 67 5.00 73-74 87 2.00 20-22 66 5.00 71-72 86 225 17-19 65 5.00 69-70 85 2.25 13-16 64 5.00 67-68 84 225 65-66 83 2.50 10-12 63 5.00 63-64 82 2.50 7-9 62 5.00 61-62 81 2.75 3-6 61 5.00 59-60 80 2.75 0-2 60 5.00 57-58 79
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Array
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