So basically, when my program starts, it loads data into an array. I have figured out how to load customer names and numbers by reading from a .txt file and then storing that information into an array. I create an array for each customer so that it can store titles of DVDs that they have borrowed. It's confusing, but I will give an example and try to be more clear.
When the program starts, customer information from a .txt is loaded into an array. The user is prompted to enter their name and number; the program searches the array for the customer. Let's say the customer enters in 'Jane Doe.' Jane has rented five DVDs, and now she wants to view the DVDs that she has rented.
So, I am able to load 'Jane' and her number from .txt file into an array, but I have no idea how I can load the DVDs she has rented into an array. The program can take in many customers, and each customer will have rented a different number of DVDs.
Any ideas/suggestions on how I can execute this will be appreciated!