Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Description : Please use C++ for this question. You are going to help a lecturer to calculate her student's marks based on 5 quizzes. The
Description : Please use C++ for this question.
You are going to help a lecturer to calculate her student's marks based on 5 quizzes. The total marks are 10 for each quiz. The marks are as follows: Students Quiz 1 Quiz 2 Quiz 3 Quiz 4 Quiz 5 Aisyah 2 9 6 Muaz 6 1 8 4 Maisarah 4 7 9 Firman 9 9 Umayr 6 7 4 9 3 | 2 3 4 1 ON 2 1 Your program should display the output which: 1) Calculate the average marks for each of the students. 2) Calculate the average marks for each of the quiz. 3) Find the student with the highest average marks. 4) Find the student with the lowest average marks. 5) Find the quiz with the highest average marks. 6) Find the quiz with the lowest average marks. 7) Based on the average score marks, sorting the student list which started with the lowest marks to the highest. Important: All the above tasks MUST be doing with user-defined function and 2-D array. It means the program must include 4 functions i.e. function average_marks(), function highest_marks(), function lowest_marks() and function sorting ()
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started