Question: Using c++ QUESTION 2: (40) Suppose we want to compile a student academic report for a high school learner in grade 12 (matric) A matric

Using c++

Using c++ QUESTION 2: (40) Suppose we want to compile a student

academic report for a high school learner in grade 12 (matric) A

matric learner is enrolled for 6 study units (subjects), namely: English, Mathematics,

QUESTION 2: (40) Suppose we want to compile a student academic report for a high school learner in grade 12 (matric) A matric learner is enrolled for 6 study units (subjects), namely: English, Mathematics, Life Orientation, History, Computer literacy, Geography. The learner has to pass at least four subjects, including English, to complete grade 12. The subject pass mark is 50%. Write a program that prompts the learner to key in their marks for each subject. The program should include the following functions: a. A function studentDetails, that prompts the learner to key in their personal details name, surname, and schoolName. A function getMarks, that prompts the learner to key in a mark for each of the six subjects, and validate the marks. Do not accept marks lower than 0 or higher than 100. b. c. A function calcAverageYearMark, to calculate and display the average of the 6 Subjects. This function should be called just once by main, and should be passed the 6 Subject marks. (6) A function minMax, to find and return the lowest and the highest of the 6 subject marks passed to it as the subject with the lowest mark; 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!