Can you explain to us what exactly you are trying to do within these lines?
By the way, it would be nice if you could correctly format your code like the java standards dictate.
Type: Posts; User: Cornix
Can you explain to us what exactly you are trying to do within these lines?
By the way, it would be nice if you could correctly format your code like the java standards dictate.
I would say:
1) Read the file
2) Parse the lines of text within the file
3) Calculate whether the journey is possible or not
4) Output results to user
Now, you should think about these steps...