Context for question 5
The purpose of this pseudocode algorithm is to find the name of a customer using an account ID, which contains letters and numbers. The name of the customer and the account ID are stored in the prepopulated two-dimensional (2D) array Accounts[]. The algorithm would then output the name of the customer.
For example, Accounts[1, 1] contains the account ID of the first customer and Accounts[1, 2] contains the name of the first customer.
DECLARE Accounts : ARRAY[1:1000, 1:2] OF STRINGDECLARE Row : INTEGERDECLARE AccountID : INTEGEROUTPUT "Please enter an account ID "OUTPUT AccountIDFOR Row ← 1 TO 1000CASE OF AccountID = Accounts[Row, 1]THENOUTPUT "The customer’s name is ", Accounts[1, 2]ENDIFNEXT Row