Question: Task 1: Write a function named getInput. (5.5 marks) a) This is a non-returning function b) It takes the score of question 1, score of


Task 1: Write a function named getInput. (5.5 marks) a) This is a non-returning function b) It takes the score of question 1, score of question 2, and score of question 3 as inpui parameters c) The function should ask the user to enter the score (per 100) for each question d) li sends all the values entered by the user in (c) back to the calling module through the use of reference parameters Task 2: Write a function named dispTier (7.5 marks) a) This is a non-returning function. b) It takes the total marks as an input parameter. c) The function should display the tice based on the conditions in Table 1 Table 1 Tier Tier 3 Tier 2 Tier Total Marks Below 40% Below 75% 75% and above (4 marks) Task 3: Write a function named calcAverage a) It takes the number of students and total marks as input parameters. b) The function should calculate the average marks per student c) It should return the average marks calculated in (b), Task 4: Write a function named dispSummary (4 marks) a) This is a non-returning function. b) It takes the total marks as an input parameter c) The function should display the total marks and tier by calling the diapTier function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
