I have a program below that is suppose to allow for a user to import an existing contact list if they have one or create a new one. This works however now I want the user to be able to have the option to see all of their contacts in their list however when I made the function to do so, it won't output anything for some reason.
Also, I have other options for the user to select however I have not made these yet so try and not comment on those bits because I have not created them yet.
Works fine for me except that only the first line of the file is read.
This is because the function listContacts is implemented to read just the first line.