Hope Michael, a student did 8 units in an exam and got different marks in each of the exam papers. She intends to calculate her total, mean score and exams verdict for the exams using a program written in C++. Requirements/Guide. Assign 8 scores to Hope in a one-dimensional array. Declare a function that takes an array of Hope’s scores as a parameter and calculates both the total and the mean score. Pass the mean score from (2) above into another function that computes whether Hope has passed or not given that a pass is 50 – 100 while a fail is 0 – 49.99 Marks. Display Hope’s results as follows: (this is a sample output, use arbitrary values in your solution) Student Name: Hope Michael Test Scores: 40, 50, 60, 80, 98, 82, 70, 32 Total Marks: 512 Mean Score: 64 Exams Verdict: Pas
Hope Michael, a student did 8 units in an exam and got different
marks in each of the exam papers. She intends to calculate her total, mean
score and exams verdict for the exams using a program written in C++.
Requirements/Guide.
Assign 8 scores to Hope in a one-dimensional array.
Declare a function that takes an array of Hope’s scores as a parameter
and calculates both the total and the mean score.
Pass the mean score from (2) above into another function that
computes whether Hope has passed or not given that a pass is 50 – 100
while a fail is 0 – 49.99 Marks.
Display Hope’s results as follows: (this is a sample output, use arbitrary
values in your solution)
Student Name: Hope Michael
Test Scores: 40, 50, 60, 80, 98, 82, 70, 32
Total Marks: 512
Mean Score: 64
Exams Verdict: Pas
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 4 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)