Question 9
The procedure visitedShop returns the list of names of people who have visited a particular shop in the Shopping Bills dataset. It accepts the shop's name as a parameter. Additionally, each customer must be represented exactly once in the returned list. The following pseudocode may have mistakes. Identify all such mistakes (if any).
Error in line 2
Error in line 6
Error in line 7
Error in line 16
Error in line 18
Error in line 19
No error