It's running but It just says press any key to continue. What is wrong with my code?
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. b. (3) 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. (3) c. d. 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; e. A function passOrFail, to determine whether the student has passed or failed grade 12. (9) f. A function awardDistinction to