I set up 3 arrays to hold all 3 lines and started on asking for the input from the user.
I've thought further on the problem and have decided to break up a string to get the different parts I envision needing to solve the problem. This will allow me to take in a single bit of input from the user at a time.
I've decided to change tacks and simplify the program a bit. I'm going to ask for the line used separately from the stops on each line.
I finished setting up the methods that will ask for user input.
Set up the method to calculate distance. Need to stop briefly
I think I've got all the methods I need now. I've started putting together the method to find the index of the stops so I can calculate the distance traveled.
I'm saving after having set up a large chunk of code. It is kind of repetitive, but I don't want to set up another method. Nothing is springing to mind as to a better way to code this, so brute force method it is.
I've finally finished the program. The biggest flaw is that it depends on the user putting correct input everytime.