This is a C++ code for an ATM simulator in console.
This programs allows user to create their account and also gives a Unique 7-Digit account number to the user. user can use this account number and theri pin to use services like Deposit, Withdraw, Balance Check and Pin Change.
This programs allows user to create their account and also gives a Unique 7-Digit account number to the user. user can use this account number and theri pin to use services like Deposit, Withdraw, Balance Check and Pin Change.
Also this program maintains a backend database of all the users and their account details in a file named data.txt.
To use this code, follow these instructions:
- Clone this repository to your local machine.
- Open the
ATM.cpp
file in your C++ compiler. - Compile and run the code.
- Follow the prompts to create an account, change your PIN, print your balance, add money to your account, and withdraw money from your account.
This program has the following features:
- Account creation: Users can create an account by providing their name and a PIN number. By doing this the code will allot you a Unique 7 digit account number which will be used to access your account. and its services.
- PIN change: Users can change their PIN by providing their current PIN and a new PIN.
- Balance check: Users can check their account balance at any time.
- Deposit money: Users can deposit money into their account.
- Withdraw money: Users can withdraw money from their account, provided they have enough funds and enter the correct PIN.
Contributions are welcome! If you find a bug or have a feature request, please create an issue on the GitHub repository.
See our Contribution Guidelines for details on how to contribute to this project.
This code is licensed under the MIT License.