Task 3 (a) Pseudo code

Pseudo Code for Task 3 (a)