Question: write a program that simulates an ATM. I am stuck when it comes to user registration. Can you help me with a program that stores
write a program that simulates an ATM. I am stuck when it comes to user registration. Can you help me with a program that stores the username and password of users in a CSV file. The program will ask the user whether he wants to log in or add another user. If the user chose to log in, he will have to input the username and password; if the password and the username match, print out "You are logged in", else print out "Username orpassword invalid". if the user chose to add a user, he needs to input the username and the password, so he can log in with these new inputs. The text file must be updated every time the user adds another user. The user must also be able to delete an added user.
Step by Step Solution
There are 3 Steps involved in it
Certainly Heres a Java program that simulates an ATM and allows users to register log in add new users and delete users The program stores the usernames and passwords in a CSV file java import javaio ... View full answer
Get step-by-step solutions from verified subject matter experts
