Skip to content

A comprehensive ATM simulation designed with Flowcharts. It includes secure login, withdrawals (calculating optimal banknote denominations), deposits, and balance management.

License

Notifications You must be signed in to change notification settings

ShotsMan2/ATM-Simulation-Flowchart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ATM Simulation Project (Flowchart)

This project is a comprehensive simulation of an Automated Teller Machine (ATM) system logic, designed and visualized using flowchart diagrams. It demonstrates the algorithmic thinking behind banking transactions, including secure authentication, balance management, and optimal banknote distribution.

ATM Flowchart Preview

๐Ÿš€ Features

The simulation covers all core functionalities of a real-world ATM:

  • ๐Ÿ” Secure Authentication System:

    • Requires a 4-digit PIN for access (Default: 2518).
    • Includes a security lockout mechanism that blocks the card after 3 incorrect attempts.
  • ๐Ÿ’ฐ Smart Withdrawal Algorithm (Greedy Approach):

    • Calculates the most efficient way to dispense cash using available banknotes.
    • Prioritizes larger denominations (200, 100, 50, 10, 5 TL) to minimize the number of bills given.
    • Checks for sufficient balance and banknote availability before dispensing.
  • โž• Detailed Deposit System:

    • Allows users to deposit specific counts of different banknotes (e.g., "3 pieces of 200 TL").
    • Automatically updates the total balance and the internal stock of each banknote type.
  • ๐Ÿ“Š Dynamic Menu & Balance Tracking:

    • User-friendly menu interface (Withdraw, Deposit, Account Info, Exit).
    • Real-time balance updates after every transaction.

๐Ÿง  Algorithmic Logic

This project implements structured programming concepts:

  • Loops: For authentication retries and menu navigation.
  • Conditionals (If-Else): For password validation and balance checks.
  • Mathematical Operations: For calculating the remaining balance and banknote distribution (Modulus & Division logic).

๐Ÿ› ๏ธ How to Run

  1. Clone or Download this repository.
  2. Ensure you have a flowchart interpreter installed (e.g., Flowgorithm).
  3. Open the Bankamatik.fpp file.
  4. Click the Run (Play) button to start the simulation.

๐Ÿ“ฌ Contact

If you have any questions or suggestions about this project, feel free to reach out:


This project was created for educational purposes to demonstrate algorithm design skills.

About

A comprehensive ATM simulation designed with Flowcharts. It includes secure login, withdrawals (calculating optimal banknote denominations), deposits, and balance management.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published