Task 3 (a) Pseudo code

Pseudo code for Task 3 (a)