Skip to content
ahmedchorahiPublic

About

A comprehensive console-based ATM (Automated Teller Machine) simulation program written in C++. This project demonstrates core banking functionalities including cash withdrawals, balance inquiries, fund transfers (both local and international), and utility bill payments.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

ATM Simulation System 🏦

License: MIT

A comprehensive console-based ATM (Automated Teller Machine) simulation program written in C++. This project demonstrates core banking functionalities including cash withdrawals, balance inquiries, fund transfers (both local and international), and utility bill payments.

🌟 Features

  • Account Types: Supports both Current and Savings accounts.
  • Authentication: Requires a 16-digit account number and a 4-digit PIN for access.
  • Cash Withdrawal:
    • Pre-set amounts: 1000, 5000, 10000, 25000.
    • Custom amounts (multiples of 500).
    • Automatic tax deduction for Current accounts (0.6%).
  • Balance Inquiry: Real-time account balance checking with optional printed receipt.
  • Fund Transfers:
    • Local Transfer: To same bank or other local banks (with 0.3% tax deduction).
    • International Transfer: Supports currency conversion to Dollars ($), Euros (€), Pounds (£), and Lira (₺) based on configured exchange rates.
  • Bill Payments: Pay utility bills (Electricity, Gas) using a 14-digit reference number, or 1 Bill Invoice using a 17-digit consumer number.

🚀 Getting Started

Prerequisites

To compile and run this program, you need a C++ compiler installed on your system (e.g., GCC, Clang, or MSVC).

Installation

  1. Clone the repository:
    git clone https://github.com/ahmedchorahi/ATM.git
  2. Navigate to the project directory:
    cd ATM
  3. Compile the source code:
    g++ Sourcecode.cpp -o atm
  4. Run the executable:
    • On Windows: atm.exe
    • On Linux/macOS: ./atm

💡 Usage

Upon running the program, follow the on-screen prompts:

  1. Insert Card: Press 1 to simulate inserting your ATM card.
  2. Verify Account:
    • Enter any 16-digit account number (e.g., 1234567890123456).
    • Enter any 4-digit PIN (e.g., 1234).
  3. Select Account Type: Choose between Current 1 or Savings 2 account.
  4. Perform Transactions: Use the numerical menus to navigate through withdrawals, transfers, and payments.

Note: The initial account balance is set to PKR 100,000.00 for simulation purposes.

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A comprehensive console-based ATM (Automated Teller Machine) simulation program written in C++. This project demonstrates core banking functionalities including cash withdrawals, balance inquiries, fund transfers (both local and international), and utility bill payments.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages