Home /
Expert Answers /
Computer Science /
thohoyandou-school-thohoyanduo-school-is-a-private-school-in-a-typical-class-there-are-10-learne-pa477
(Solved):
Thohoyandou School Thohoyanduo School is a private school. In a typical class, there are 10 learne ...
Thohoyandou School Thohoyanduo School is a private school. In a typical class, there are 10 learners. The headmaster of the school is preparing for their prize giving day. On prize giving day, they award the learner with the highest mark for the class. The headmaster has approached you as a C++ developer to assist them in developing a program that will calculate this Write a C++ program using Visual Studio that will do the following: 1.1 Input the marks of the ten learners in a particular class 1.2 Determine which of the marks is the highest mark 1.3 Calculate the average mark 1.4 Print out the average and highest mark Figure 1 below shows a sample output of the expected program in operation: Welcome to Thohoyandou School Program Input work for Learner 1 Input mark for Learner 2 Input work for Learner 3 45 Enput mark for Learner 4 Input mark for Learner 5 Input work for Learner 6 12 Enput mark for Learner 7 14 Input work for Learner 17 Enput mark for Learner 9 58 Input mark for Learner 10 16 The class average mark is 62. The highest mark is a I (7 Marks) (4 Marks) (5 Marks) (4 Marks)