/Simple_ATM_Controller

This program shows how ATM works. (Test Task)

Primary LanguageC++

Simple_ATM_Controller

This is a baisc ATM program written in c++.

Process flow:

Insert card ==> Validate PIN ==> Select Account Type ==> Check Balance/Withdraw/Deposit.

Asuumptions:

  1. You are asked to whether insert a card or not.
  2. Customer cant withdraw more than what account holds.
  3. Customer cant withdraw more than what ATM holds.

Test run:

g++ Simple_ATM_Controller.cpp 
./a.out

Enter the PIN: 2354