Skip to content

kunalshah017/ATM-Simulator

Repository files navigation

ATM Simulator in Console

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.

Also this program maintains a backend database of all the users and their account details in a file named data.txt.


A kid playing with binary numbers

Contributors

Contributors

Instructions

To use this code, follow these instructions:

  1. Clone this repository to your local machine.
  2. Open the ATM.cpp file in your C++ compiler.
  3. Compile and run the code.
  4. Follow the prompts to create an account, change your PIN, print your balance, add money to your account, and withdraw money from your account.

Features

This program has the following features:

  1. 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.
  2. PIN change: Users can change their PIN by providing their current PIN and a new PIN.
  3. Balance check: Users can check their account balance at any time.
  4. Deposit money: Users can deposit money into their account.
  5. Withdraw money: Users can withdraw money from their account, provided they have enough funds and enter the correct PIN.
## Contributing

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.

License

This code is licensed under the MIT License.