So the Text Adventure is lost. ;-;. I am working on a GUI to take a starting point and a destination input by the user, and scan a file to find a match for both. If it finds a match for Variable A + B then it will assign variable C based on more Data on the same row. For instance
When it gets to a , I want it to take the characters in the first block, and assign it to Variable (Var1a) and then go to the second one and do the same for Var2a, then do the following:
Check if inputUserStart = Var1a Check if inputUserDestination = Var2a if the statements are true, assign the last data block (1.70) to a variable (Var3)
Then to display all three like this:
How would I do this?
This program would print a simulation Bus Ticket. (BareBones)
Var 3 would be the Price of the ticket.