Anda di halaman 1dari 36

AUTOMATED TELLER MACHINE

TABLE OF CONTENTS

S.No CONTENT PAGE No.

1. Abstract 2

2. Introduction 3

3. Objective 4

4. Limitations of the existing system 5

5. Importance 6

6. Input Data 8

7. Types of Output 9

8. Source Code 11

9. Output 31

10. Conclusion 35

11. Bibliography 36

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 1


AUTOMATED TELLER MACHINE

ABSTRACT

The document contains the Software Project Management


Plan of “AUTOMATED TELLER MACHINE”, which can
be used by the Banks. An automated teller machine (ATM) is
an electronic telecommunications device that enables
customers of financial institutions to perform financial
transactions, such as cash withdrawals, deposits, transfer funds,
or obtaining account information, at any time and without the
need for direct interaction with bank staff. The Goal of the
C++ project is to describe overall of the “AUTOMATED
TELLER MACHINE”.

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 2


AUTOMATED TELLER MACHINE

INTRODUCTION

The project is on automated teller machine. Bank is the


place where customers come to perform financial transactions,
such as cash withdrawals, deposits, transfer funds, or obtaining
account information, at any time and without the need for
direct interaction with bank staff.

Our project based on the concept to generate the total sum


amount of the user. The user can Deposit, Withdraw, pay bills
from this system. ... The whole project is designed in 'C++'
language and different variables and strings have been used for
the development of this project.

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 3


AUTOMATED TELLER MACHINE

OBJECTIVES

The motto of this project is to manage the super market in


an easy and proper way. A AUTOMATED TELLER
MACHINE is a software application for bank establishments
to manage billing system. Our easy-to-use, integrated banking
applications are proven to reduce time spent on management
tasks so you can concentrate on banking. Automated teller
machine have to accept, process and generate reports
accurately. Our project is developed, keeping in mind the need
for efficient access of billing system.

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 4


AUTOMATED TELLER MACHINE

LIMITATIONS OF EXISTING SYSTEM

Every system has pros and cons so existing system also


have many advantages and disadvantages. So the bottlenecks
of the existing system are as follows:

 User Interface: User Interface is not so much good that


operators feel some problems in working.

 Processing speed: Processing speed of the software is not


so much good to operate fast.

 Flexible: Existing system is not so much flexible that can


be changed according to the operators and customers.

 Automatic generation of the Reports: Not able to


automatically generate the reports and documents.

 Workload: Sometimes the system hangs when workload


is more.

 Error Free: Sometimes the system gives error in the


calculation in making the bill and in the information of the
products due to workload.

 Man Power: Existing system uses so many people to


operate the system.

 Resources: System does not use the resources properly.

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 5


AUTOMATED TELLER MACHINE

IMPORTANCE

ENHANCEMENT:

The main objective of Automated teller machine is to


enhance and upgrade the existing system by increasing its
efficiency and effectiveness. The software improves the
working methods by replacing the existing manual system with
the computer-based system.

AUTOMATION:

This project automates each and every activity of the


manual system and increases speed throughout. Thus the
response time of the system is very less and it works very fast.

ACCURACY:

This project provides a quick response with very


accurate information regarding the user.

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 6


AUTOMATED TELLER MACHINE

USER-FRIENDLY:

This software has a user-friendly interface. Thus the user


will feel very easy to work on it. The software provides
accuracy along with a pleasant interface, which makes the
present system more interactive, speedy and user friendly.

AVAILABILTY:

The transaction reports of the system can be retrieved as


and when required. Thus, there is no delay in the availability of
any information, whatever needed, can be captured very
quickly and easily.

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 7


AUTOMATED TELLER MACHINE

INPUT DATA

The goal of designing input data is to make data entry as


easy, logical and error free as possible. Operators need to know
the following:

 The allocated space for each field.

 Field sequence, which match the most in the source


document.

 The format in which data field are entered. For example,


filling out the data field is required through the edited
format mm/dd/yy.

 Let us elaborate on each step.

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 8


AUTOMATED TELLER MACHINE

TYPES OF OUTPUT

In this project output of a system can take different forms.


The most common are reports, displays on screen, printed
forms etc. The outputs also vary in terms of their content,
types of stationery, frequency and timing etc. besides, which
consideration also need to be given as to who will use the
output and for what purpose. All these points must be kept in
mind while designing outputs so that the objectives of the
system are met in the best possible way.

Output of a data-processing system can be placed into two


categories:

 Application output

 Operating output

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 9


AUTOMATED TELLER MACHINE

APPLICATION OUTPUT:

These are the outputs desired out of the system to meet its
objectives. There are two types.

 Output as a basis for decision making. This type of output


is generally required by management for decision –
making purposes. Gate pass, Purchases order are the
examples of such outputs.

 Statutory outputs: All organizations are required to


produce a certain amount of reports and forms as required
by law.

OPERATING OUTPUT:

These outputs are mainly generated for use of banks and


give various indications as to how the system operates system
logs, error message, status indicators, etc., are examples of
such output. These types of output are not concerned for the
users.

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 10


AUTOMATED TELLER MACHINE

SOURCE CODE

#include <iostream>
#include <iomanip>
#include <ctime>
#include <stdlib.h>
#include <string>
#include <conio.h>
#include <time.h>
#include <string.h>
using namespace std;

void showMenu();
int mainMenuSelection(int);
void welcomeScreen();
void receipt();
void showLogo();
double enterAmountScreen(double);
void waiting(unsigned int mseconds) {
clock_t goal = mseconds + clock();
while (goal > clock());
}

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 11


AUTOMATED TELLER MACHINE

int main() {
int choice, account;
string pin = "";
char ast;
cout << fixed << showpoint << setprecision(2);
welcomeScreen();
system("cls");
showLogo();
cout << "\n\n\t\t\t Please type your Bank Account Number : ";
cin >> account;
cout << "\n\t\t\t Please type Personal Identification
Number(PIN) : ";
ast = _getch();
while (ast != 13) {
pin.push_back(ast);
cout << '*';
ast = _getch();
}
if (account != 908070 && pin != "908070") {
cout << "\n\t\t\tInvalid Bank Account and PIN. Please try
again!" << endl;
getch();
} else {
do {
showMenu();
cin >> choice;

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 12


AUTOMATED TELLER MACHINE

while (choice < 1 || choice > 5) {


cout << "\n\t\t\tPlease enter your choice 1, 2, 3, 4, or 5: ";
cin >> choice;
}

int withdrawChoice, depositChoice;


int checkBalanceChoice, fundsTransferChoice;
double money = 0.0;
char conf;
if (choice == 1) {
system("cls");
showLogo();
cout << endl << " \t\t\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2
WITHDRAWAL TRANSACTION
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
cout << "\n\n\t\t\t [ 1 ] From Checking" << endl;
cout << "\t\t\t [ 2 ] From Savings" << endl;
cout << "\t\t\t [ 3 ] Quick Cash" << endl;
cout << "\t\t\t [ 4 ] Back to Main Menu" << endl;
cout << "\t\t\t
_____________________________________________"
<< endl;
cout << "\t\t\t Enter your withdraw transaction: ";
cin >> withdrawChoice;
while (withdrawChoice < 1 || withdrawChoice > 4) {

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 13


AUTOMATED TELLER MACHINE

system("cls");
showLogo();
cout << endl << " \t\t\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2
WITHDRAWAL TRANSACTION
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
cout << "\n\n\t\t\t Invalid Transaction!\n\t\t\t Please re-enter
1, 2, 3 or 4 : ";
cin >> withdrawChoice;
}
if (withdrawChoice == 4) {
showMenu();
}

else if (withdrawChoice == 3) {
int amount1;
system("cls");
showLogo();
cout << endl << " \t\t\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2
QUICK CASH TRANSACTION
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
cout << "\n\n\t\t\t REMAINING BALANCE : Php 10000"
<< endl;
cout << "\n\t\t\t Enter the Amount (Php) : ";
cin >> amount1;

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 14


AUTOMATED TELLER MACHINE

cout << "\n\t\t\t Your remaining quick cash balance: Php "
<< 10000 - amount1 << endl;
waiting(3000);
receipt();
cout << "\n\t\t\t|TRANSACTION:\t\t QUICK
WITHDRAWAL |" <<
"\n\t\t\t|AMOUNT:\t\t " << amount1 << ".00\t |" <<
"\n\t\t\t|CURRENT BAL:\t\t " << 20000 - amount1 <<
".00\t |" <<
"\n\t\t\t|AVAILABLE BAL:\t\t " << 20000 - amount1 <<
".00\t |" <<
"\n\t\t\t|\t\t\t\t\t |\n\t\t\t|HUWAG IPAALAM ANG PIN
SA IBA.\t\t |" <<
"\n\t\t\t|\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB
2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\
xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2|";
waiting(10000);
showMenu();
} else if (withdrawChoice == 2) {
int amount2;
system("cls");
showLogo();
cout << endl << " \t\t\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2
CASH SAVINGS TRANSACTION
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 15


AUTOMATED TELLER MACHINE

cout << "\n\n\t\t\t AVAILABLE BALANCE : Php 10000"


<< endl;
cout << "\t\t\t Enter the amount : ";
cin >> amount2;
cout << "\t\t\t Your remaining savings balance: Php " <<
10000 - amount2 << endl;
waiting(5000);
system("cls");
receipt();
cout << "\n\t\t\t|TRANSACTION:\t\t SAVINGS
WITHDRAWAL|" <<
"\n\t\t\t|AMOUNT:\t\t " << amount2 << ".00\t |" <<
"\n\t\t\t|CURRENT BAL:\t\t " << 20000 - amount2 <<
".00\t |" <<
"\n\t\t\t|AVAILABLE BAL:\t\t " << 20000 - amount2 <<
".00\t |" <<
"\n\t\t\t|\t\t\t\t\t\n\t\t\t|HUWAG IPAALAM ANG PIN SA
IBA.\t\t |" <<
"\n\t\t\t|\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB
2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\
xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2|";
waiting(10000);
showMenu();
} else if (withdrawChoice == 1) {
int amount3;

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 16


AUTOMATED TELLER MACHINE

system("cls");
showLogo();
cout << endl << " \t\t\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2 CASH
CHECKING TRANSACTION
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
cout << "\n\n\t\t\t AVAILABLE BALANCE : Php 20000"
<< endl;
cout << "\t\t\t Enter the amount : ";
cin >> amount3;
cout << "\t\t\t Your remaining check balance: Php " <<
20000 - amount3 << endl;
waiting(3000);
system("cls");
receipt();
cout << "\n\t\t\t|TRANSACTION:\t\t CASH
WITHDRAWAL |" <<
"\n\t\t\t|AMOUNT:\t\t " << amount3 << ".00\t |" <<
"\n\t\t\t|CURRENT BAL:\t\t " << 20000 - amount3 <<
".00\t |" <<
"\n\t\t\t|AVAILABLE BAL:\t\t " << 20000 - amount3 <<
".00\t |" <<
"\n\t\t\t|\t\t\t\t\t |\n\t\t\t|HUWAG IPAALAM ANG PIN
SA IBA.\t\t |" <<
"\n\t\t\t|\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB
2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 17


AUTOMATED TELLER MACHINE

\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\
xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2|";
waiting(10000);
showMenu();
}
} else if (choice == 2) {
system("cls");
showLogo();
cout << endl << " \t\t\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2
DEPOSIT TRANSACTION
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
cout << "\n\n\t\t\t [ 1 ] To Checking" << endl;
cout << "\t\t\t [ 2 ] To Savings" << endl;
cout << "\t\t\t [ 3 ] Back to Main Menu" << endl;
cout << "\t\t\t
_____________________________________________"
<< endl;
cout << "\t\t\t Enter your deposit transaction: ";
cin >> depositChoice;
while (depositChoice < 1 || depositChoice > 3) {
system("cls");
showLogo();
cout << endl << " \t\t\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2
DEPOSIT TRANSACTION
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 18


AUTOMATED TELLER MACHINE

cout << "\n\n\t\t\t Invalid Transaction!\n\t\t\t Please re-enter


1, 2 or 3 : ";
cin >> depositChoice;
}
if (depositChoice == 3) {
showMenu();
} else if (depositChoice == 2) {
int depamount1;
system("cls");
showLogo();
cout << endl << " \t\t\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2 SAVINGS
DEPOSIT TRANSACTION
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
cout << "\n\n\t\t\t Enter the deposit amount : Php ";
cin >> depamount1;
cout << "\t\t\t Your New Balance: Php " << depamount1 +
10000 << endl;
waiting(5000);
system("cls");
showMenu();
} else if (depositChoice == 1) {
int depamount2;
system("cls");
showLogo();

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 19


AUTOMATED TELLER MACHINE

cout << endl << " \t\t\t


\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2 CHECK
DEPOSIT TRANSACTION
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
cout << "\n\n\t\t\t Enter the deposit amount : Php ";
cin >> depamount2;
cout << "\t\t\t Your New Balance: Php " << depamount2 +
20000 << endl;
waiting(5000);
system("cls");
showMenu();
}
} else if (choice == 3) {
system("cls");
showLogo();
cout << endl << " \t\t\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2 CHECK
BALANCE TRANSACTION
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
cout << "\n\n\t\t\t [ 1 ] From Checking" << endl;
cout << "\t\t\t [ 2 ] From Savings" << endl;
cout << "\t\t\t [ 3 ] Back to Main Menu" << endl;
cout << "\t\t\t
_____________________________________________"
<< endl;
cout << "\t\t\t Enter Your Check Balance Choice: ";
cin >> checkBalanceChoice;

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 20


AUTOMATED TELLER MACHINE

while (checkBalanceChoice < 1 || checkBalanceChoice > 3)


{
system("cls");
showLogo();
cout << endl << " \t\t\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2 CHECK
BALANCE TRANSACTION
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
cout << "\n\n\t\t\t Invalid Transaction!\n\t\t\t Please re-enter
1, 2 or 3 : ";
cin >> checkBalanceChoice;
}
if (checkBalanceChoice == 3) {
showMenu();
} else if (checkBalanceChoice == 2) {
system("cls");
showLogo();
cout << endl << " \t\t\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2 BALANCE
SAVINGS TRANSACTION
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
cout << "\n\n\t\t\t NEW AVAILABLE BALANCE : Php
10000";
waiting(3000);
showMenu();
}

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 21


AUTOMATED TELLER MACHINE

else if (checkBalanceChoice == 1) {
system("cls");
showLogo();
cout << endl << " \t\t\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2 BALANCE
CHECK TRANSACTION
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
cout << "\n\n\t\t\t NEW CHECK BALANCE : Php 20000";
waiting(3000);
showMenu();
}
} else if (choice == 4) {
system("cls");
showLogo();
cout << endl << " \t\t\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2 FUND
TRANSFER TRANSACTION
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
cout << "\n\n\t\t\t [ 1 ] Transfer from Savings to Checking"
<< endl;
cout << "\t\t\t [ 2 ] Transfer from Checking to Savings" <<
endl;
cout << "\t\t\t [ 3 ] Back to Main Menu" << endl;
cout << "\t\t\t
_____________________________________________"
<< endl;
cout << "\t\t\t Enter Your Funds Transfer Transaction: ";

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 22


AUTOMATED TELLER MACHINE

cin >> fundsTransferChoice;


while (fundsTransferChoice < 1 || fundsTransferChoice > 3) {
system("cls");
showLogo();
cout << endl << " \t\t\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2 FUND
TRANSFER TRANSACTION
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
cout << "\n\n\t\t\t Invalid Transaction!\n\t\t\t Please re-enter
1, 2 or 3 : ";
cin >> fundsTransferChoice;
}
if (fundsTransferChoice == 3) {
showMenu();
} else if (fundsTransferChoice == 2) {
int accntNo, checkNo, amntNo;
system("cls");
showLogo();
cout << endl << " \t\t\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2 CHECK
TRANSFER TRANSACTION
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
cout << "\n\n\t\t\t NEW CHECK BALANCE : Php 20000";
cout << "\n\t\t\t Account Number (for Transfer) : ";
cin >> accntNo;
cout << "\n\t\t\t Check Number : ";
cin >> checkNo;

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 23


AUTOMATED TELLER MACHINE

cout << "\n\t\t\t Amount Transfer : Php ";


cin >> amntNo;
while (amntNo < 2000 || amntNo > 20000) {
system("cls");
showLogo();
cout << endl << " \t\t\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2 CHECK
TRANSFER TRANSACTION
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
cout << "\n\n\t\t\t Invalid Amount!\n\t\t\t Please try again!";
cout << "\n\t\t\t Please enter Amount Transfer : Php ";
cin >> amntNo;
}
waiting(1000);
cout << "\n\n\t\t\t The amount of Php " << amntNo << " has
been transfered to \n\t\t\t " << accntNo << " with a check #
" << checkNo << endl;
waiting(10000);
showMenu();
} else if (fundsTransferChoice == 1) {
int accntNo, checkNo, amntNo;
system("cls");
showLogo();
cout << endl << " \t\t\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2 SAVINGS
TRANSFER TRANSACTION
\xB2\xB2\xB2\xB2\xB2\xB2\xB2";

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 24


AUTOMATED TELLER MACHINE

cout << "\n\n\t\t\t NEW SAVINGS BALANCE : Php 10000";


cout << "\n\t\t\t Account Number (for Transfer) : ";
cin >> accntNo;
cout << "\n\t\t\t Amount Transfer : Php ";
cin >> amntNo;
while (amntNo < 2000 || amntNo > 10000) {
system("cls");
showLogo();
cout << endl << " \t\t\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2 SAVINGS
TRANSFER TRANSACTION
\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
cout << "\n\n\t\t\t Invalid Amount!\n\t\t\t Please try again!";
cout << "\n\t\t\t Please enter Amount Transfer : Php ";
cin >> amntNo;
}
waiting(1000);
cout << "\n\n\t\t\t The amount of Php " << amntNo << " has
been transfered to " << accntNo;
waiting(10000);
showMenu();
}
} else if (choice == 5) {
cout << " \n\t\t\t THANK YOU" << endl << endl;
getch();
}

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 25


AUTOMATED TELLER MACHINE

} while (choice != 5);


}
return 0;
}

void welcomeScreen() {
time_t now = time(0);
char * dt = ctime( & now);
cout << "\n\t\t\t Date and Time is: " << dt << endl;
cout<<"\n\t\t\t$***********************************
**************$";
cout<<"\n\t\t\t$************PROGRAMMER
INFORMATION***************$";
cout<<"\n\t\t\t$ Programmer name : Yogeash B $";
cout<<"\n\t\t\t$ Guide name : Mr.P.RAJENDIRAN, M.Sc.,
M.Phil. $";
cout<<"\n\t\t\t$ Stream : Science $";
cout<<"\n\t\t\t$ Class : XII-Bio/Cs $";
cout<<"\n\t\t\t$ Batch : 2018-2019 $";
cout<<"\n\t\t\t$ Project : Automated Teller Machine $";
cout<<"\n\t\t\t$***********************************
**************$";
cout << "\n\t\t\t
_____________________________________________"
<<
"\n\t\t\t|\t\t\t\t\t |\n\t\t\t|
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\t\xB2

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 26


AUTOMATED TELLER MACHINE

\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2 |" <<
"\n\t\t\t| \xB2\xB2\t \xB2\xB2\t\xB2\xB2\t
\xB2\xB2\t\xB2\xB2\t \xB2\xB2 |" <<
"\n\t\t\t| \xB2\xB2\t \xB2\xB2\t\xB2\xB2\t
\xB2\xB2\t\xB2\xB2\t \xB2\xB2 |" <<
"\n\t\t\t|
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\t\xB2
\xB2\t \xB2\xB2\t\xB2\xB2\t \xB2\xB2 |" <<
"\n\t\t\t| \xB2\xB2\t \xB2\xB2\t\xB2\xB2\t
\xB2\xB2\t\xB2\xB2\t \xB2\xB2 |" <<
"\n\t\t\t| \xB2\xB2\t \xB2\xB2\t\xB2\xB2\t
\xB2\xB2\t\xB2\xB2\t \xB2\xB2 |" <<
"\n\t\t\t|
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\t\xB2
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2 |" <<
"\n\t\t\t|\t\t\t\t\t |\n\t\t\t|=============== ATM
MACHINE =================|";
cout << "\n\n\t\t\tPlease INSERT your Card [Press ENTER
to insert card] ";
cin.get();
}
void showLogo() {
time_t now = time(0);
char * dt = ctime( & now);
cout << "The local date and time is: " << dt << endl;

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 27


AUTOMATED TELLER MACHINE

cout << "\n\t\t\t + ************** WELCOME TO


*************** + ";
cout << "\n\t\t\t___________________________________" <<
"\n\t\t\t|\t\t\t\t\t |\n\t\t\t|
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\t\xB2
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2 |" <<
"\n\t\t\t| \xB2\xB2\t \xB2\xB2\t\xB2\xB2\t
\xB2\xB2\t\xB2\xB2\t \xB2\xB2 |" <<
"\n\t\t\t| \xB2\xB2\t \xB2\xB2\t\xB2\xB2\t
\xB2\xB2\t\xB2\xB2\t \xB2\xB2 |" <<
"\n\t\t\t|
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\t\xB2
\xB2\t \xB2\xB2\t\xB2\xB2\t \xB2\xB2 |" <<
"\n\t\t\t| \xB2\xB2\t \xB2\xB2\t\xB2\xB2\t
\xB2\xB2\t\xB2\xB2\t \xB2\xB2 |" <<
"\n\t\t\t| \xB2\xB2\t \xB2\xB2\t\xB2\xB2\t
\xB2\xB2\t\xB2\xB2\t \xB2\xB2 |" <<
"\n\t\t\t|
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\t\xB2
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\t
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2 |" <<
"\n\t\t\t|\t\t\t\t\t |\n\t\t\t|=============== ATM
MACHINE =================|";
}
void showMenu() {
system("cls");
showLogo();

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 28


AUTOMATED TELLER MACHINE

cout << endl << " \t\t\t


\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2
MAIN MENU TRANSACTION
\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2";
cout << "\n\n\t\t\t [ 1 ] Withdrawal" << endl;
cout << "\t\t\t [ 2 ] Deposit" << endl;
cout << "\t\t\t [ 3 ] Check Balance" << endl;
cout << "\t\t\t [ 4 ] Funds Transfer" << endl;
cout << "\t\t\t [ 5 ] Exit ATM" << endl;
cout << "\t\t\t _____________________________" << endl;
cout << "\t\t\t Enter your choice: ";
}
void receipt() {
system("cls");
showLogo();
char date[9];
char time[9];
strdate(date);
strtime(time);
cout << "\n\n\t\t\t\t\t PRINTING RECEIPT . . .\n";
waiting(3000);
system("cls");
showLogo();
cout << endl <<
"\n\n\t\t\t|\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\x

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 29


AUTOMATED TELLER MACHINE

B2\xB2\xB2\xB2\xB2 STATE BANK OF INDIA


\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2\xB2|";
cout << "\n\t\t\t|\t\t\t\t\t |" <<
"\n\t\t\t|\t ATM TRANSACTION RECORD\t |" <<
"\n\t\t\t|\t\t\t\t\t |" <<
"\n\t\t\t|DATE:\t\t\t " << date << "\t |" <<
"\n\t\t\t|TIME:\t\t\t " << time << "\t |" <<
"\n\t\t\t|LOCATION:\t\t CHENNAI\t |" <<
"\n\t\t\t|CARD NUM:\t\t ************1215 |";
}
double enterAmountScreen(double money) {
system("cls");
int decision;
cout << endl << "\t\tEnter Amount Screen" << endl;
cout << "[ 1 ] Enter Amount:";
cout << endl << "[ 2 ] Back to Main Menu:";
cout << endl << "Enter your decision for the amount screen: ";
cin >> decision;
if (decision == 2) {
showMenu();
} else {
cout << "Please enter the amount: ";
cin >> money;
}
return money;}

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 30


AUTOMATED TELLER MACHINE

OUTPUT

FACE OF OUTPUT:

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 31


AUTOMATED TELLER MACHINE

MAIN MENU:

WITHDRAWAL:

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 32


AUTOMATED TELLER MACHINE

DEPOSIT:

FUND:

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 33


AUTOMATED TELLER MACHINE

RECEPIT:

END OF PROGRAM:

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 34


AUTOMATED TELLER MACHINE

CONCLUSION

Computer has got clear advantage over the manual


system.

The computerized system is more reliable, efficient and


fast at the end of the project also. I can say that pc plays a very
crucial role in the development of each sectors. All the daily
reports generated by the system are to be checked by the
concerned manager so as to ensure that all transactions have
been put through in appropriate accounts and is managed
properly. Personal computer does maximum work with
minimum time, as it is used in every field it provides comfort
and it is suitable for various purpose and helps to achieve the
goal faster. So in same way this project is more efficient and
effective with the use of personal computer.

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 35


AUTOMATED TELLER MACHINE

BIBLIOGRAPHY

 “Programming with C++” by BYRON S GOTTFRIED

 “Computer Science with C++” by E BALAGURUSAMY

 “Programming in Ansi C” by E BALAGURUSWAMY

 “Computer Science with C++” by SUMITA ARORA

 www.icbse.com

 www.c++projects.com

 www.dreamincode.net

 www.cppschools.com

VIJAY VIKAS INTERNATIONAL SR SEC SCHOOL PAGE 36