Task 3 (b) Program Code

Program code for Task 3 (b) + fix for previous Question