posted 13 years ago
And describe what you need help with. What's not working? If you're getting error messages, post them exactly (cut and paste). If the code is not functioning as you'd like, post examples of what you want it to do and actual results from running the code that show how it does not agree with your specification, cut and past if possible.
Since the assignment requires a file of customer usernames and passwords, you need to define the format of the customer.txt file and then read it into a collection of some kind. Then, when a returning ATM user enters their username and password, the customer collection can be searched for an existing username and corresponding password to validate the user's logon. If a new customer, the new ussername and password will be added to the customer collection. The customer.txt file can be updated, written from the customer collection, after each customer logoff or before the ATM shuts down.
Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795