The code demonstrates addition of elements to the end of an array.
The code shows that Passing by reference allows two variables to point to the same content under different names.
The following statements set up a do-while loop that looks for the customer named
Smith.
The following statements set up a while loop that looks through an array for a customer named Smith.
This code shows how to print all the elements of an array using for loop.