(a) List three advantages of using sub‑programs in this situation. [3]
(b) Construct an algorithm in pseudocode for the sub‑program inputInRange(). [4]
(c) Construct the algorithm in pseudocode for the isCorrectlyCompleted(MAT) sub‑program as described. [8]