Giter Site home page Giter Site logo

atm_simulation's Introduction

ATM Simulation

Requirement:

To be able to run this program, you will need:

  • Python 3.9.12

How to run:

To run this ATM simulation program, run the Simulator.py file by typing the following command in the terminal:

python Simulator.py

You can then choose between these 3 options:

 Who are you? (input number)
> (1) Customer
> (2) Admin
> (3) Exit

Customer Features & Workflow

#############################
Welcome to ABI BANK ATM!!
#############################
        

>> First Name: 
First1

>> Last Name: 
Last1

What would you like to do? (input number)
> (1) Check Balance
> (2) Deposit
> (3) Withdraw
> (4) Exit
1

    Your balance is: 100000
            

What would you like to do? (input number)
> (1) Check Balance
> (2) Deposit
> (3) Withdraw
> (4) Exit
2

    Amount of deposit: 
    30000

    Your new balance is: 130000
            

What would you like to do? (input number)
> (1) Check Balance
> (2) Deposit
> (3) Withdraw
> (4) Exit
3

    Amount of withdrawal: 
    10300

    Your remaining balance is: 119700
            

What would you like to do? (input number)
> (1) Check Balance
> (2) Deposit
> (3) Withdraw
> (4) Exit
1

    Your balance is: 119700
            

What would you like to do? (input number)
> (1) Check Balance
> (2) Deposit
> (3) Withdraw
> (4) Exit
4

Thank you for using our ATM. Come back soon! :)

Admin Features & Workflow

#############
Welcome to Admin Page!
#############
        

>> PIN 21M517008

What would you like to do? (input number)
> (1) Add customer
> (2) Delete customer
> (3) Edit customer
> (4) Search customer
> (5) Exit
1

    Customer details:
    >> First Name:
    Jean

    >> Last Name:
    Adams

    >> Balance:
    100000

What would you like to do? (input number)
> (1) Add customer
> (2) Delete customer
> (3) Edit customer
> (4) Search customer
> (5) Exit
1

    Customer details:
    >> First Name:
    Audrey

    >> Last Name:
    Daniels

    >> Balance:
    100000

What would you like to do? (input number)
> (1) Add customer
> (2) Delete customer
> (3) Edit customer
> (4) Search customer
> (5) Exit
1

    Customer details:
    >> First Name:
    Jeff

    >> Last Name:
    TheDebugger

    >> Balance:
    1000200

What would you like to do? (input number)
> (1) Add customer
> (2) Delete customer
> (3) Edit customer
> (4) Search customer
> (5) Exit
2

    Which customer do you want to delete?: 
    1

What would you like to do? (input number)
> (1) Add customer
> (2) Delete customer
> (3) Edit customer
> (4) Search customer
> (5) Exit
3

    Which customer do you want to edit?: 
    2

        New customer details:
        >> First Name:
        Audrey

        >> Last Name:
        TheDebugger

        >> Balance:
        2000000

What would you like to do? (input number)
> (1) Add customer
> (2) Delete customer
> (3) Edit customer
> (4) Search customer
> (5) Exit
4

            Customer ID-0:
                > First Name: First1
                > Last Name: Last1
                > Balance: 100000
                

            Customer ID-1:
                > First Name: First3
                > Last Name: Last3
                > Balance: 300000
                

            Customer ID-2:
                > First Name: Audrey
                > Last Name: TheDebugger
                > Balance: 2000000
                

            Customer ID-3:
                > First Name: Audrey
                > Last Name: Daniels
                > Balance: 100000
                

            Customer ID-4:
                > First Name: Jeff
                > Last Name: TheDebugger
                > Balance: 1000200
                

What would you like to do? (input number)
> (1) Add customer
> (2) Delete customer
> (3) Edit customer
> (4) Search customer
> (5) Exit
5

    Thank you for your hard work! :)

atm_simulation's People

Contributors

priscillabigaill avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.