Question: 2. Define and test the following value-returning functions. (one file submission for all functions in part 2 and 3 ) - calculateQuizMark This function has

2. Define and test the following value-returning functions. (one file submission for all functions in part 2 and 3 ) - calculateQuizMark This function has 3 parameters, the scores for 3 quizzes. It calculates and returns the quiz mark for the CSCl100 course as the average of the best two quizzes, the lowest score gets dropped. Do not use the min () function. - calculateFinalMark. This function has 6 parameters, the scores for participation, for 2 quizzes, for the midterm exam and for the final exam of a course. It calculates and returns the final mark for the CSCl100 course. Here is how students 2 get evaluated in this course: (The lowest quiz marks gets dropped, only the two highest quizzes count.) In the calculateFinalMark function use the calculateQuizMark function to calculate the average quiz score
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
