atykwonderland / atm-controller

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

atm-controller


  1. clone/download the repo files
  2. compile files together
  3. run Main

Note: There are 4 users than can be queried

User[] users = {new User(12345678,1111,200,510),
              new User(23456781,2222,0,6180999),
              new User(34567812,3333,100000,234671),
              new User(45678123,4444,841,71)};
  • First attribute = card number
  • Second attribute = pin
  • Third attribute = checking account balance
  • Fourth attribute = savings account balance

Process: Insert Card Number => PIN => Select Account => See Balance/Deposit/Withdraw => Another Transaction?

Implemented with console I/O

About


Languages

Language:Java 100.0%