I've got the program running, but not as how the instructor requested. The professor wants us to ask the user for a text file and classify the data accordingly.
E = Enter
L = Leave
So if I have a text file with the following info
it should add the E's to a list, and remove the L's from the list.
The program I have written does this but in a different manner. My program provides the user with options, asking if user is going to enter/leave and adds/removes respectively. My program, adds/removes users one by one.
So what I'm asking is, how can I do this from the text file? I'm guessing I would need to use something like isLetter to identify the first letter of each line and categorize accordingly?
Any tip or example gearing me to the right direction would greatly be appreciated.
Thanks in advance :)
Edited 4 Years Ago by tformed