Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 54

Tour Hub

A
Project Report
On

(Title of Project)
Mini Project Report submitted to

Masters of Computer Application (SEM-I)

Of
University of Mumbai
Submitted by

Name of student
Mr. Manas Subhash Bendal
Mr. Rushikesh Gangadhar Gaikwad
Under the guidance of

PROF. Alok Shaha

BharatiVidyapeeth’s

Institute of Management and Information Technology


Navi Mumbai.

BATCH:2019-2020

BVIMIT Page 1
Tour Hub

BharatiVidyapeeth’s

Institute of Management and Information Technology


Navi Mumbai.

Certificate of approval

This is to certify that the mini project titled “TOUR HUB” is


successfully done by “Rushikesh Gaikwad and Manas Bendal”
during the end of Semester-I in partial fulfillment of Master’s of
Computer Application under the University of Mumbai, through the
BharatiVidypeeth’s Institute of Management and Information
Technology, Navi Mumbai carried out by them under our guidance and
supervision.

Internal Guide Internal Guide


(Signature & Date) (Signature & Date)

BVIMIT Page 2
Tour Hub

Declaration

I declare that this written submission represents my ideas in my own


words and where others’ ideas or words have been included, I have
adequately cited and referenced the original sources. I also declare that I
have adhered to all principles of academic honesty and integrity and
have not misrepresented or fabricated or falsified any
idea/data/fact/source in my submission.

I understand that any violation of the above will be cause for


disciplinary action by the Institute and can also evoke penal action from
the sources which have thus not been properly cited or from whom
proper permission has not been taken when needed.

Mr. Manas Bendal


Mr. Rushikesh Gaikwad
(Signature & Date)

BVIMIT Page 3
Tour Hub

Acknowledgment
I avail this opportunity to express my sincere and deep gratitude to many who are a
factor in helping me gain the knowledge and experience during the project and
throughout the course.

I have great pleasure in presenting this project. The completion of this project is
not merely due to only my own efforts but also due to the guidance given by our
professors.

I am thankful to our project guide Prof. Alok Shaha for his support. I also thank
Dr. Suhasini Vijaykumar, Incharge Director BVIMIT and respected faculty
members for their kind support and help throughout the entire course.
Finally I express my deep regards to all of those who stretch their helping in the
execution of my project.

Date: Student Name

Mr.Rushikesh Gaikwad

Mr. Manas Bendal

BVIMIT Page 4
Tour Hub

Index
Sr. Date Topics Page No.
No.
1 08/10/2019 Abstract, Synopsis 6
2 15/10/2019 Business Case 10
3 22/10/2019 Project charter(plan the project using 13
MS project)
4 22/10/2019 Software Requirement specification 15
5 5/11/2019 System designing 19
6 12/11/2019 Coding 20
7 12/11/2019 Screen shots 53
8 12/11/2019 Limitations &Future Enhancement 56
9 12/11/2019 References 57

BVIMIT Page 5
Tour Hub

ABSTRACT

Our project entitled “TOUR HUB” aims is to provide customers the detail
information reguarding the tourist places in India anywhere and at anytime
without visiting any Tour Company.

This project provides the customers to select any appropriate tour


package they needed,they can create they own account, security is
provided for their account.
The customer can give a detail description of their tour. They can also
manage their account.

We used Sublime and Brackets as front end and we used PHP and
MySQL(XAMPP Server) as back end for developing our project. The
overall project report is divided into some parts. These parts are further
divided into their subparts. In the parts we have described of the
purpose, scope of the project, objective of the project i.e. approach
which used for developing this software.

BVIMIT Page 6
Tour Hub

SYNOPSIS

OBJECTIVES:-

Our main objective is to provide customers the generally needed Tourist


places information and the Tour packages information they required jusy by
sitting at their house .The second objective is to save the time which is very
important mow a dyas.

It will include other objectives such as:

 To reduce accurate services to customer.


 The reduction of fraudulent activities
 To achieve speedy progressing of customer data
 To provide user friendly and provides accuracy.

SYSTEM REQUIREMENTS:-

1. Hardware requirements:-
 Processor=Dos ,Dual core
 RAM=512MB
 Hard drive=Minimum 80GB
2. Software requirements:-
 Front end =Turbo c++

BVIMIT Page 7
Tour Hub

LIMITATION:-

 The system only provides the Tour and Tour Packages


Information to the Customers
 Travel and Hotel Booking is not included.

REFERENCES:-

 www.google.com/

 http://www.w3schools.com/

 http://www.tutorialpoint.com/

BVIMIT Page 8
Tour Hub

BUSINESS CASE

1. INTRODUCTION
In this project, we are trying to provide the customers accurate information regarding the Tourist
places in India. The software is user friendly and provides accuracy. It is more precise and helps
to do the task more efficiently by reducing time.

Computer architecture supports following number systems.

 Admin Login
 User Registration
 User Login
 Package Booking
 And many more

2. PROBLEM DEFINITION:-

The main intention for developing this project is to provide functionality, time saving
and flexibility to Customers .

It is more precise and helps to do the task more efficiently by reducing time.

The objective of this project are:

 The objective of Tour Hub system is to allow customers to select any tour package and
get all the information regarding Tourist places in India anywhere and at anytime without the
need of Tourist Companies. By using the Tour Hub people can get information reguarding the
Tour packages and Tourist places just by sitting in their house.
 To Save time.
 To improve the accuracy.
 Easy to understand and Easy to handle.

BVIMIT Page 9
Tour Hub

3. PROJECT MOV:-

Time Frame:-

 Base line for project is 60days.


 Efforts required for this project is Double persons.

Verify the Stakeholders:-

Since the project is being developed for academic purposes the stakeholders of the project are the
mentors.

Scope:

 This project helps for .Customer to select any tour package and get all the information
regarding Tourist places in India.
 It is easy to learn the task
 This software improves the working methods by replacing the existing manual system
with the computer-based system.
 The software is user friendly and provides accuracy.
 Also this project increases the efficiency and effectiveness.

5.FEASIBILITY STUDY :-

As the name imply, a feasibility study is an analysis of the viability of an idea. The
feasibility study focuses on helping answer the essential question of “should we proceed with the
proposed project idea?” all activities of the study are directed toward helping answer this
question.

It is not the purpose of the feasibility study or the role of the consultant to decide
whether or not to proceed with a business idea. It is the role of the project leaders to make this
decision, using information from the feasibility study and input from consultants.

1. Technical Feasibility :-

There is no additional hardware required for the project as it may run on the
requirement specified and also with the current system. There is no need for any financial
considerations for any type of technical enhancement.

BVIMIT Page 10
Tour Hub

2. Behavioral Feasibility :-
As the system is totally computerized as compared to the traditional systems
hence the reactions would be likely in the favor of development of the system.

6.DECLARE MOV:-

The project will be successfully when this project will provide efficiency and accuracy for the
customers.

BVIMIT Page 11
Tour Hub

PROJECT CHARTER
Project Name/Identification :- TOUR HUB

Project Stakeholder :-

Name Title/Role Phone/email address


Prof. Alok Shaha Project Co-ordinator

Manas Bendal Developer, Tester

Rushikesh Gaikwad Developer, Tester

1. Project Background:-

This project is a simple console application built without the use of graphics. Named
Tour Hub project in PHP this program features; tour information, tour package.. This
project is complete and totally-error free, and I have presented the source code in a very
understandable manner.

1.Project Scope:-

 1.This project helps for tourist places as well as Customer.


 2.All the manual work should be converted into computerized so that the load of the
employee should be decreases and reduce queue and time
 The software is user friendly and provides accuracy.
 This project increases the efficiency and effectiveness.

2. Project schedule summary:-


Project schedule consist of 60 days.

 Project Start Date :-9 September 2018


 Project End Date :-10 November 2019

BVIMIT Page 12
Tour Hub

4.Timelines/Milestones for Project Phases:-

Gantt Chart:

6. Resources Required :-

 People : There are two people are required for this project.
 Technology : Sublime, PHP(xampp)
 Others(Facilities) :nil

7. Assumptions and Risk used to develop the project:-

 The hardware may fail.


 Unknown error may exist at runtime.
 The risk used to develop the project is project schedule. It is difficult to complete
the project within stipulated time.

BVIMIT Page 13
Tour Hub

SOFTWARE REQUIREMENTS SPECIFICATION

Project Name: TOUR HUB

Software Requirements Specification

Project Name:- TOUR HUB


Team Guide:-
Prof. Alok Shaha

Member name and Rollno:-


Mr. Manas Bendal (04)
Mr. Rushikesh Gaikwad (10)
College Name:-
BharatiVidyapeeth.(IMIT,Belapur)

Department:-
MCA.

City /State:-
Navi Mumbai.

BVIMIT Page 14
Tour Hub

SOFTWARE REQUIREMENTS SPECIFICATION


1.0 Introduction

1.1 Purpose:-

The purpose of this source is to describe the TOUR HUB which provides the services to
the customer to book tour package and get all information about tourist places in India.

1.2 Scope :-
 All the manual work should be converted into computerized so that the load of the
employee should be decreases
 The software is user friendly and provides accuracy.
 This project increases the efficiency and effectiveness.

1.3 Definition, acronym and abbreviation


- Operating system

 IT - Information Technology
 MB - MegaByte
 GB - GigaByte
 RAM- Random Access Memory
 CPU- Central Processing Unit

1.4 References:-

o Web reference:- www.tutorialspoint.com


o Textbook reference:-

1.5 Design and Implementation constraints:-


Hardware Required
Processor : Dos,Dual core
RAM : 512MB
Hard Disc : 80GB

Software Required
Operating system : Windows
Developing Tool : Turbo C.

BVIMIT Page 15
Tour Hub

SYSTEM DESIGNING
Use case Diagram

BVIMIT Page 16
Tour Hub

CODING
#include<iostream.h>
#include<stdio.h>
#include<graphics.h>
//#include<process.h>
#include<conio.h>
#include<string.h>
//#include<stdlib.h>
#include<math.h>
#include<time.h>
class Bank
{
public:
char choice,ch;
char name[50],odate[10],add[50],adhar[20],AC[10],atmc;
char mob[20],nameb[20],ACb[10];
int i,b,acno,acnod,acnodw,cac,atmno1,atmno2,atmno3,atmp,amtd,amtdw,bal,acnob;
char named[20],mobd[10],adhard[20],ACd[10];
char namedw[20],mobdw[10],adhardw[20],ACdw[10];
int pin,cho,Pin,Pin1,Pin2,Billno;
void first();
void bank();
virtual void second()=0;
void create();
void deposite();
void withdraw();
void balance();
void cancel();
void Info();
};
void Bank::first()
{
textcolor(BLUE);
textbackground(WHITE);
time_t now=time(0);
tm *ltm=localtime(&now);
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<1+ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** **";
cout<<"\n\t ** WELCOME TO APALI BANK **";

BVIMIT Page 17
Tour Hub

cout<<"\n\t ** **";
cout<<"\n\t ** Presented By: **";
cout<<"\n\t ** **";
cout<<"\n\t ** Vishwajeet Yadav **";
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Any Key.... **";
cout<<"\n\t****************************************************\n";
getch();
}

void Bank::bank()
{
clrscr();

time_t now=time(0);
tm *ltm=localtime(&now);
char choice1;
do
{
clrscr();
cout<<"\n\n\n\n\t******************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Please Select Your Choice... **";
cout<<"\n\t ** [ 1 : Create A/C ] [ 2 : Deposite ] **";
cout<<"\n\t ** **";
cout<<"\n\t ** [ 3 : Withdraw ] [ 4 : Balance ] **";
cout<<"\n\t ** **";
cout<<"\n\t ** [ 5 : Cancel A/C ] [ 6 : Cust-Info ] **";
cout<<"\n\t ** **";
cout<<"\n\t ** [ 7 : Facilities ] [ 8 : Exit ] **";
cout<<"\n\t ** **";
cout<<"\n\t******************************************************\n";
cin>>choice1;
if(choice1=='1')
{
create();
}
else if(choice1=='2')
{

BVIMIT Page 18
Tour Hub

deposite();
}
else if(choice1=='3')
{
withdraw();
}
else if(choice1=='4')
{
balance();
}
else if(choice1=='5')
{
cancel();
}
else if(choice1=='6')
{
Info();
}
else if(choice1=='8')
{
second();
// exit(0);
}
else
{
clrscr();
cout<<"\n\n\n\n\t******************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Please Select Your Choice... **";
cout<<"\n\t ** [ 1 : Create A/C ] [ 2 : Deposite ] **";
cout<<"\n\t ** **";
cout<<"\n\t ** [ 3 : Withdraw ] [ 4 : Balance ] **";
cout<<"\n\t ** **";
cout<<"\n\t ** [ 5 : Cancel A/C ] [ 6 : Cust-Info ] **";
cout<<"\n\t ** **";
cout<<"\n\t ** [ 7 : Facilities ] [ 8 : Exit ] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Sorry!!!...Invalide Choice.... **";
cout<<"\n\t******************************************************\n";

getch();

BVIMIT Page 19
Tour Hub

}
clrscr();
cout<<"\n\n\n\n\t******************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Please Select Your Choice... **";
cout<<"\n\t ** [ 1 : Create A/C ] [ 2 : Deposite ] **";
cout<<"\n\t ** **";
cout<<"\n\t ** [ 3 : Withdraw ] [ 4 : Balance ] **";
cout<<"\n\t ** **";
cout<<"\n\t ** [ 5 : Cancel A/C ] [ 6 : Cust-Info ] **";
cout<<"\n\t ** **";
cout<<"\n\t ** [ 7 : Facilities ] [ 8 : Exit ] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Do You Want To Continue.... **";
cout<<"\n\t******************************************************\n";
cin>>ch;
}while(ch=='y'||ch=='Y');
}
void Bank::create()
{
clrscr();

//time......

time_t now=time(0);
tm *ltm=localtime(&now);
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ";
cout<<"\n\t WELCOME TO APALI BANK ";
cout<<"\n\t Enter Name: ";
gets(name);
cout<<"\n\t Enter Address: ";
gets(add);
cout<<"\n\t Enter Mobile No.[10]: ";
gets(mob);
cout<<"\n\t Enter Adharcard No.[12]: ";
gets(adhar);
cout<<"\n\t Enter Date:";
gets(odate);
cout<<"\n\t Enter A/C Type[SA|CA]: ";
gets(AC);

BVIMIT Page 20
Tour Hub

cout<<"\n\t Do You Want ATM Card[Yes|No]: ";


cin>>atmc;
cout<<"\n\t Thank You.......... ";
cout<<"\n\t****************************************************";
getch();
clrscr();
cout<<"\n\n\n\n\t******************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Congratulation !!!...... **";
cout<<"\n\t ** **";
cout<<"\n\t ** Your A/C Is Created!!!..... **";
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** Thank You.....Press Any Key... **";
cout<<"\n\t ** **";
cout<<"\n\t*******************************************************";
getch();
clrscr();
srand(time(0));
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ";
cout<<"\n\t WELCOME TO APALI BANK ";
cout<<"\n\t ";
cout<<"\n\t Your Bank Details ";
cout<<"\n\t ";
cout<<"\n\t Customer Name: "<<name<<" ";
cout<<"\n\t Address : "<<add<<" ";
cout<<"\n\t Mobile No. : "<<mob<<" ";
cout<<"\n\t Adharcard No.: "<<adhar<<" ";
cout<<"\n\t A/C Type : "<<AC<<" ";
acno=(rand()%6000)+2000;
cout<<"\n\t Acount No. : 0000-0000-"<<acno;
cout<<"\n\t Opening Date : "<<odate;
bal=1000;
cout<<"\n\t Your Fixed Charge:1000";
if(atmc=='y'||atmc=='Y')
{
atmno1=(rand()%5000)+2000;
atmno2=(rand()%5000)+2000;
atmno3=(rand()%5000)+2000;

BVIMIT Page 21
Tour Hub

cout<<"\n\t ATM Card No. : "<<atmno1<<"-"<<atmno2<<"-"<<atmno3<<" ";


atmp=(rand()%8000)+2000;
cout<<"\n\t ATM Password : "<<atmp<<" ";
}
cout<<"\n\t ";
cout<<"\n\t Thank You..... ";
cout<<"\n\t******************************************************";
getch();
bank();
clrscr();
}
void Bank::cancel()
{
clrscr();
char ch;
time_t now=time(0);
tm *ltm=localtime(&now);
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ";
cout<<"\n\t WELCOME TO APALI BANK ";
cout<<"\n\t ";
cout<<"\n\t Enter A/C No.: ";
cin>>cac;
cout<<"\n\t ";
cout<<"\n\t Thank You..... ";
cout<<"\n\t******************************************************";
//getch();
if(acno==cac)
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ";
cout<<"\n\t WELCOME TO APALI BANK ";
cout<<"\n\t ";
cout<<"\n\t Your Bank Details ";
cout<<"\n\t ";
cout<<"\n\t Customer Name: "<<name<<" ";
cout<<"\n\t Address : "<<add<<" ";
cout<<"\n\t Mobile No. : "<<mob<<" ";
cout<<"\n\t Adharcard No.: "<<adhar<<" ";
cout<<"\n\t A/C Type : "<<AC<<" ";
cout<<"\n\t Acount No. : "<<acno<<" ";
cout<<"\n\t Opening Date : "<<odate;
if(atmc=='y'||atmc=='Y')

BVIMIT Page 22
Tour Hub

{
cout<<"\n\t ATM Card No. : "<<atmno1<<"-"<<atmno2<<"-"<<atmno3<<" ";
cout<<"\n\t ATM Password : "<<atmp<<" ";
}
cout<<"\n\t ";
cout<<"\n\t Do You Want To Cancel Your A/C.... ";
cout<<"\n\t******************************************************";
cin>>ch;
if(ch=='Y'||ch=='y')
{
strcpy(AC,"empty");
acno=0;
atmno1=0;
atmno2=0;
atmno3=0;
atmp=0;
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Your A/C Is Canceled!!!.... **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t****************************************************\n";
}
getch();
clrscr();
first();
}
else
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Sorry!..,Your A/C No. Does Not Match.... **";

BVIMIT Page 23
Tour Hub

cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t****************************************************\n";
getch();
clrscr();
first();
}
}
void Bank::deposite()
{
clrscr();

time_t now=time(0);
tm *ltm=localtime(&now);
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ";
cout<<"\n\t WELCOME TO APALI BANK ";
cout<<"\n\t Enter Name: ";
gets(named);
cout<<"\n\t Enter Mobile No.[10]: ";
gets(mobd);
cout<<"\n\t Enter Adharcard No.[12]: ";
gets(adhard);
cout<<"\n\t Enter A/C No.: ";
cin>>acnod;
cout<<"\n\t Enter A/C Type[SA|CA]: ";
gets(ACd);
cout<<"\n\t Enter Amount : ";
cin>>amtd;
cout<<"\n\t****************************************************";
if(strcmp(name,named)==0
&&strcmp(mob,mobd)==0&&strcmp(adhar,adhard)==0&&strcmp(AC,ACd)==0&&(acno==acnod
))
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Congratulation !!!...... **";
cout<<"\n\t ** **";
cout<<"\n\t ** Your Trasaction Is Sucussfully... **";

BVIMIT Page 24
Tour Hub

cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** Thank You.....Press Any Key... **";
cout<<"\n\t ** **";
cout<<"\n\t*******************************************************";
getch();
bank();
clrscr();
}
else
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Sorry!..,Your Trasaction Is Fail..... **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t****************************************************\n";
getch();
clrscr();
first();
}
}
void Bank::withdraw()
{
clrscr();

time_t now=time(0);
tm *ltm=localtime(&now);
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ";
cout<<"\n\t WELCOME TO APALI BANK ";
cout<<"\n\t Enter Name: ";
gets(namedw);
cout<<"\n\t Enter Mobile No.[10]: ";
gets(mobdw);
cout<<"\n\t Enter Adharcard No.[12]: ";
gets(adhardw);
cout<<"\n\t Enter A/C No.: ";

BVIMIT Page 25
Tour Hub

cin>>acnodw;
cout<<"\n\t Enter A/C Type[SA|CA]: ";
gets(ACdw);
cout<<"\n\t Enter Amount : ";
cin>>amtdw;
cout<<"\n\t****************************************************";
if(strcmp(name,namedw)==0
&&strcmp(mob,mobdw)==0&&strcmp(adhar,adhardw)==0&&strcmp(AC,ACdw)==0&&(acno==
acnodw))
{
if(amtd==0||amtdw<=1000)
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Sorry!..,Your A/C Balance is insuficient.... **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t****************************************************\n";
getch();
bank();
clrscr();
}
bal=amtd-amtdw;
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Congratulation !!!...... **";
cout<<"\n\t ** **";
cout<<"\n\t ** Your Trasaction Is Sucussfully... **";
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** Thank You.....Press Any Key... **";
cout<<"\n\t ** **";
cout<<"\n\t*******************************************************";

BVIMIT Page 26
Tour Hub

getch();
bank();
clrscr();
}
else
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Sorry!..,Your Trasaction Is Fail..... **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t****************************************************\n";
getch();
clrscr();
first();
}
}
void Bank::balance()
{
clrscr();

time_t now=time(0);
tm *ltm=localtime(&now);
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ";
cout<<"\n\t WELCOME TO APALI BANK ";
cout<<"\n\t Enter Name: ";
gets(nameb);
cout<<"\n\t Enter A/C No.: ";
cin>>acnob;
cout<<"\n\t Enter A/C Type[SA|CA]: ";
gets(ACb);
cout<<"\n\t****************************************************";
if(strcmp(name,nameb)==0 && strcmp(AC,ACb)==0&&(acno==acnob))
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ";

BVIMIT Page 27
Tour Hub

cout<<"\n\t *** ";


cout<<"\n\t WELCOME TO APALI BANK \n ";
cout<<"\n\t A/C No.:"<<acno<<" \n ";
cout<<"\n\t| Sr.No| Date | Deposite | Withdraw | Balance|";
cout<<"\n\t ";
cout<<"\n\t| 1. |04-08-2018| "<<amtd<<" | "<<amtdw<<" | "<<bal<<" |";
cout<<"\n\t ";
cout<<"\n\t ";
cout<<"\n\t ";
cout<<"\n\t ";
cout<<"\n\t ";
cout<<"\n\t Press Enter.... ";
cout<<"\n\t****************************************************\n";
getch();
bank();
clrscr();
}
else
{

cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Sorry!..,Your Trasaction Is Fail..... **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t****************************************************\n";
getch();
bank();
clrscr();
}
}
void Bank::Info()
{
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ";
cout<<"\n\t WELCOME TO APALI BANK ";
cout<<"\n\t ";
cout<<"\n\t Your Bank Details ";
cout<<"\n\t ";

BVIMIT Page 28
Tour Hub

cout<<"\n\t Customer Name: "<<name<<" ";


cout<<"\n\t Address : "<<add<<" ";
cout<<"\n\t Mobile No. : "<<mob<<" ";
cout<<"\n\t Adharcard No.: "<<adhar<<" ";
cout<<"\n\t A/C Type : "<<AC<<" ";
cout<<"\n\t Acount No. : "<<acno<<" ";
cout<<"\n\t Opening Date : "<<odate;
if(atmc=='y'||atmc=='Y')
{
cout<<"\n\t ATM Card No. : "<<atmno1<<"-"<<atmno2<<"-"<<atmno3<<" ";
cout<<"\n\t ATM Password : "<<atmp<<" ";
}
cout<<"\n\t ";
cout<<"\n\t ";
cout<<"\n\t| Sr.No| Date | Deposite | Withdraw | Balance|";
cout<<"\n\t ";
cout<<"\n\t| 1. |04-08-2018| "<<amtd<<" | "<<amtdw<<" | "<<bal<<" |";
cout<<"\n\t ";
cout<<"\n\t ";
cout<<"\n\t ";
cout<<"\n\t Thank You..... ";
cout<<"\n\t******************************************************";
getch();
bank();
}

class Atm: public Bank


{
public:

void second();
void atm();
void cont();
void de();
void wi();
void pi();
void mini();
void mo();
void ba();
void bi();
};
void Atm::second()
{
clrscr();

BVIMIT Page 29
Tour Hub

char choice;
char ch;
time_t now=time(0);
tm *ltm=localtime(&now);
do
{
clrscr();

cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-
"<<1900+ltm->tm_year<<" "<<ltm->tm_hour<<":"<<1+ltm->tm_min<<":"<<ltm->tm_sec<<"
**";
cout<<"\n\t ** **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Please Select Your Choice... **";
cout<<"\n\t ** **";
cout<<"\n\t ** [ 1 : Bank ] [ 2 : ATM ] **";
cout<<"\n\t ** [ 3 : Exit ] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t****************************************************\n";
cin>>choice;
if(choice=='1')
{
bank();
}
else if(choice=='2')
{
atm();
}
else if(choice=='3')
{
exit(0);
}
else
{
clrscr();

cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm-
>tm_mon<<"-"<<1900+ltm->tm_year<<" "<<ltm->tm_hour<<":"<<1+ltm->tm_min<<":"<<ltm-
>tm_sec<<" **";

BVIMIT Page 30
Tour Hub

cout<<"\n\t ** **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Please Select Your Choice... **";
cout<<"\n\t ** **";
cout<<"\n\t ** [ 1 : Bank ] [ 2 : ATM ] **";
cout<<"\n\t ** [ 3 : Exit ] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Sorry!!!.... Invalid Choice.... **";

cout<<"\n\t****************************************************\n";
}
getch();
clrscr();

cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-
"<<1900+ltm->tm_year<<" "<<ltm->tm_hour<<":"<<1+ltm->tm_min<<":"<<ltm->tm_sec<<"
**";
cout<<"\n\t ** **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Please Select Your Choice... **";
cout<<"\n\t ** **";
cout<<"\n\t ** [ 1 : Bank ] [ 2 : ATM ] **";
cout<<"\n\t ** [ 3 : Exit ] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Do You Want To Continue... **";
cout<<"\n\t****************************************************\n";
cin>>ch;
}while(ch=='Y'||ch=='y');

}
void Atm::atm()
{
clrscr();

time_t now=time(0);
tm *ltm=localtime(&now);
cout<<"\n\n\n\n\t******************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";

BVIMIT Page 31
Tour Hub

cout<<"\n\t ** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** Please Insert Your Card... **";
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t******************************************************\n";
getch();
getch();
clrscr();
cout<<"\n\n\n\n\t******************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t Please Enter Your Pin : ";
cin>>pin;
cout<<"\n\t ** 1 2 3 **";
cout<<"\n\t ** **";
cout<<"\n\t ** 4 5 6 Continue...-> [1] **";
cout<<"\n\t ** **";
cout<<"\n\t ** 7 8 9 Cancel.....-> [2] **";
cout<<"\n\t ** **";
cout<<"\n\t******************************************************\n";
cin>>cho;
if(pin==1111)//atmp
{
if(cho==1)
{
cont();
}
else if(cho=='2')
{
second();
}

BVIMIT Page 32
Tour Hub

else
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t ** Sorry!..,You Something Went Wrong... **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t****************************************************\n";
getch();
second();
}
}
else
{
clrscr();
cout<<"\n\n\n\n\t******************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** Sorry ! Your Entered Pin Is Not Match..... **";
cout<<"\n\t ** Try Again... **";
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** Continue...-> [1] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Cancel.....-> [2] **";
cout<<"\n\t ** **";
cout<<"\n\t******************************************************\n";
getch();
second();
}
}
void Atm::cont()
{

BVIMIT Page 33
Tour Hub

clrscr();

time_t now=time(0);
tm *ltm=localtime(&now);
cout<<"\n\n\n\n\t************************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t ** Please Select Your Choice... **";
cout<<"\n\t ** **";
cout<<"\n\t ** [1] <- Deposite Mini Statement -> [5] **";
cout<<"\n\t ** **";
cout<<"\n\t ** [2] <- Withdraw Money Transfer -> [6] **";
cout<<"\n\t ** **";
cout<<"\n\t ** [3] <- PIN Change Balance Enquery -> [7] **";
cout<<"\n\t ** **";
cout<<"\n\t ** [4] <- Cancel Bill Payment -> [8] **";
cout<<"\n\t ** **";
cout<<"\n\t************************************************************\n";
cin>>cho;
if(cho==1)
{
de();
}
else if(cho==2)
{
wi();
}
else if(cho==3)
{
pi();
}
else if(cho==4)
{
second();
}
else if(cho==5)
{
mini();
}
else if(cho==6)
{

BVIMIT Page 34
Tour Hub

mo();
}
else if(cho==7)
{
ba();
}
else if(cho==8)
{
bi();
}
else
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t ** Sorry!..,You Something Went Wrong... **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t****************************************************\n";
getch();
second();

}
getch();
}
void Atm::de()
{
clrscr();

time_t now=time(0);
tm *ltm=localtime(&now);
cout<<"\n\n\n\n\t******************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t ** Please Select The Withdraw A/C **";
cout<<"\n\t ** **";

BVIMIT Page 35
Tour Hub

cout<<"\n\t ** Saving -> [1] **";


cout<<"\n\t ** **";
cout<<"\n\t ** Current -> [2] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Cancel -> [3] **";
cout<<"\n\t ** **";
cout<<"\n\t******************************************************\n";
cin>>cho;
getch();
if(cho==1||cho==2)
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ";
cout<<"\n\t WELCOME TO APALI BANK ATM ";
cout<<"\n\t Enter Name: ";
gets(named);
cout<<"\n\t Enter Mobile No.[10]: ";
gets(mobd);
cout<<"\n\t Enter Adharcard No.[12]: ";
gets(adhard);
cout<<"\n\t Enter A/C No.: ";
cin>>acnod;
cout<<"\n\t Enter A/C Type[SA|CA]: ";
gets(ACd);
cout<<"\n\t Enter Amount : ";
cin>>amtd;
cout<<"\n\t****************************************************";
if(strcmp(name,named)==0
&&strcmp(mob,mobd)==0&&strcmp(adhar,adhard)==0&&strcmp(AC,ACd)==0&&(acno==acnod
))
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Congratulation !!!...... **";
cout<<"\n\t ** **";
cout<<"\n\t ** Your Trasaction Is Sucussfully... **";
cout<<"\n\t ** **";
cout<<"\n\t ** **";

BVIMIT Page 36
Tour Hub

cout<<"\n\t ** Thank You.....Press Any Key... **";


cout<<"\n\t ** **";
cout<<"\n\t*******************************************************";
getch();
second();
}
else
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Sorry!..,Your Trasaction Is Fail..... **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t****************************************************\n";
getch();
second();
}
}
else
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t ** Sorry!..,You Something Went Wrong... **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t****************************************************\n";
getch();
second();

BVIMIT Page 37
Tour Hub

void Atm::wi()
{
clrscr();
int amtdw1;
time_t now=time(0);
tm *ltm=localtime(&now);
cout<<"\n\n\n\n\t******************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t ** Please Select The Withdraw A/C **";
cout<<"\n\t ** **";
cout<<"\n\t ** Saving -> [1] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Current -> [2] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Creadit -> [3] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Cancel -> [4] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t ** **";
cout<<"\n\t******************************************************\n";
cin>>cho;
getch();
clrscr();
if(cho==1||cho==2)
{
cout<<"\n\n\n\n\t******************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t Please Enter Your Amount: ";
cin>>amtdw1;
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t ** **";
cout<<"\n\t******************************************************\n";

BVIMIT Page 38
Tour Hub

if(amtd==0||amtdw<=1000)
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Sorry!..,Your A/C Balance is insuficient.... **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t****************************************************\n";
getch();
second();
}
bal=amtd-amtdw1;
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Congratulation !!!...... **";
cout<<"\n\t ** **";
cout<<"\n\t ** Your Trasaction Is Sucussfully... **";
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** Thank You.....Press Any Key... **";
cout<<"\n\t ** **";
cout<<"\n\t*******************************************************";
getch();
second();
}
else if(cho==4)
{
atm();
}
else
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";

BVIMIT Page 39
Tour Hub

cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t ** Sorry!..,You Something Went Wrong... **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t****************************************************\n";
getch();
second();

}
}
void Atm::mo()
{
clrscr();

time_t now=time(0);
tm *ltm=localtime(&now);
cout<<"\n\n\n\n\t******************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t ** Please Select The Withdraw A/C **";
cout<<"\n\t ** **";
cout<<"\n\t ** Saving -> [1] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Current -> [2] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Creadit -> [3] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Cancel -> [4] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t ** **";
cout<<"\n\t******************************************************\n";
getch();
second();
}

BVIMIT Page 40
Tour Hub

void Atm::pi()
{
clrscr();

time_t now=time(0);
tm *ltm=localtime(&now);
cout<<"\n\n\n\n\t******************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t ** Please Select The Withdraw A/C **";
cout<<"\n\t ** **";
cout<<"\n\t ** Saving -> [1] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Current -> [2] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Cancel -> [3] **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t******************************************************\n";
cin>>cho;
getch();
clrscr();
if(cho==1||cho==2)
{
cout<<"\n\n\n\n\t******************************************************";
cout<<"\n\t "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ";
cout<<"\n\t ** WELCOME TO APALI BANK ATM ";
cout<<"\n\t ** ";
cout<<"\n\t ** ";
cout<<"\n\t Enter New PIN: ";
cin>>Pin1;
cout<<"\n\t Enter Confirm PIN: ";
cin>>Pin2;
cout<<"\n\t Enter Old PIN: ";
cin>>Pin;
cout<<"\n\t Press Enter.... ";
cout<<"\n\t******************************************************\n";

if((Pin1==Pin2)&&(Pin==atmp))
{

BVIMIT Page 41
Tour Hub

atmp=Pin2;
}
else if(Pin1==Pin2)
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t ** Sorry !,Your PIN Is Wrong **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t****************************************************\n";
getch();
pi();
}
else if(Pin==atmp)
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t ** Sorry !,Your Old Is Wrong **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t****************************************************\n";
getch();
second();
}
else
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** *** **";

BVIMIT Page 42
Tour Hub

cout<<"\n\t ** WELCOME TO APALI BANK ATM **";


cout<<"\n\t ** **";
cout<<"\n\t ** OOPS !,Something Went To Wrong **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t****************************************************\n";
getch();
clrscr();
pi();
}
}
else if(cho==3)
{
second();
}
else
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t ** Sorry !,Something Went To Wrong **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t****************************************************\n";
getch();
second();
}
}
void Atm::ba()
{
clrscr();

time_t now=time(0);
tm *ltm=localtime(&now);
cout<<"\n\n\n\n\t******************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";

BVIMIT Page 43
Tour Hub

cout<<"\n\t ** **";
cout<<"\n\t ** Please Select The Withdraw A/C **";
cout<<"\n\t ** **";
cout<<"\n\t ** Saving -> [1] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Current -> [2] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Cancel -> [3] **";
cout<<"\n\t ** **";
cout<<"\n\t******************************************************\n";
cin>>cho;
getch();
clrscr();
if(cho==1||cho==2)
{
clrscr();
cout<<"\n\n\n\n\t******************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t ";
cout<<"\n\t Your Total Balance :"<<bal;
cout<<"\n\t ";
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t******************************************************\n";
getch();
second();
}
else if(cho==3)
{
second();
}
else
{
clrscr();
cout<<"\n\n\n\n\t******************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** **";

BVIMIT Page 44
Tour Hub

cout<<"\n\t ** WELCOME TO APALI BANK ATM **";


cout<<"\n\t ** **";
cout<<"\n\t ** Sorry!,Something Went Wrong.... **";
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t******************************************************\n";
getch();
second();
}
}
void Atm::bi()
{
clrscr();
int amtdw2;
time_t now=time(0);
tm *ltm=localtime(&now);
cout<<"\n\n\n\n\t******************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t ** Please Select The Withdraw A/C **";
cout<<"\n\t ** **";
cout<<"\n\t ** Saving -> [1] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Current -> [2] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Creadit -> [3] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Cancel -> [4] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t ** **";
cout<<"\n\t******************************************************\n";
cin>>cho;
getch();
clrscr();
if(cho==1||cho==2)
{
cout<<"\n\n\n\n\t******************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";

BVIMIT Page 45
Tour Hub

cout<<"\n\t ** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t Enter Your Bill No: ";
cin>>Billno;
cout<<"\n\t Enter Your Amount: ";
cin>>amtdw2;
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t ** **";
cout<<"\n\t******************************************************\n";

if(amtd==0||amtdw<=1000)
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Sorry!..,Your A/C Balance is insuficient.... **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t****************************************************\n";
getch();
second();
}
bal=amtd-amtdw2;
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** WELCOME TO APALI BANK **";
cout<<"\n\t ** **";
cout<<"\n\t ** Congratulation !!!...... **";
cout<<"\n\t ** **";
cout<<"\n\t ** Your Trasaction Is Sucussfully... **";
cout<<"\n\t ** **";
cout<<"\n\t ** **";
cout<<"\n\t ** Thank You.....Press Any Key... **";

BVIMIT Page 46
Tour Hub

cout<<"\n\t ** **";
cout<<"\n\t*******************************************************";
getch();
clrscr();
second();
}
else
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t ** Sorry!..,You Something Went Wrong... **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t****************************************************\n";
getch();
second();

}
}
void Atm::mini()
{
clrscr();

time_t now=time(0);
tm *ltm=localtime(&now);
cout<<"\n\n\n\n\t******************************************************";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";
cout<<"\n\t ** **";
cout<<"\n\t ** Please Select The Withdraw A/C **";
cout<<"\n\t ** **";
cout<<"\n\t ** Saving -> [1] **";
cout<<"\n\t ** **";
cout<<"\n\t ** Current -> [2] **";
cout<<"\n\t ** **";

BVIMIT Page 47
Tour Hub

cout<<"\n\t ** Creadit -> [3] **";


cout<<"\n\t ** **";
cout<<"\n\t ** Cancel -> [4] **";
cout<<"\n\t ** **";
cout<<"\n\t******************************************************\n";
//getch();
cin>>cho;
if(cho==1||cho==2)
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ";
cout<<"\n\t *** ";
cout<<"\n\t WELCOME TO APALI BANK \n ";
cout<<"\n\t A/C No.:"<<acno<<" \n ";
cout<<"\n\t| Sr.No| Date | Deposite | Withdraw | Balance|";
cout<<"\n\t ";
cout<<"\n\t| 1. |04-08-2018| "<<amtd<<" | "<<amtdw<<" | "<<bal<<" |";
cout<<"\n\t ";
cout<<"\n\t ";
cout<<"\n\t ";
cout<<"\n\t ";
cout<<"\n\t ";
cout<<"\n\t Press Enter.... ";
cout<<"\n\t****************************************************\n";
getch();
second();
}
else if(cho==3)
{
}
else if(cho==4)
{
second();
}
else
{
clrscr();
cout<<"\n\n\n\n\t****************************************************";
cout<<"\n\t ** **";
cout<<"\n\t ** "<<ltm->tm_mday<<"-"<<1+ltm->tm_mon<<"-"<<1900+ltm-
>tm_year<<" "<<ltm->tm_hour<<":"<<ltm->tm_min<<":"<<ltm->tm_sec<<" **";
cout<<"\n\t ** *** **";
cout<<"\n\t ** WELCOME TO APALI BANK ATM **";

BVIMIT Page 48
Tour Hub

cout<<"\n\t ** **";
cout<<"\n\t ** Sorry!..,You Something Went Wrong... **";
cout<<"\n\t ** **";
cout<<"\n\t ** Press Enter.... **";
cout<<"\n\t****************************************************\n";
getch();
second();

}
}

void main()
{
clrscr();
Atm obj;
obj.first();
obj.second();
getch();
}

BVIMIT Page 49
Tour Hub

SCREEN SHOTS

1)

2)

Main menu
BVIMIT Page 50
Tour Hub

3)

Bank menu

ATM Login

BVIMIT Page 51
Tour Hub

The first user interface shows all the menu’s that user can able to see.

BVIMIT Page 52
Tour Hub

LIMITATION
 The system only provides the text base interface, which is not as user friendly as
graphical user interface.
 Currently system not recovering any user data.

FUTURE ENHANCEMENT

 In future we developed project in visual c#,Java ,and C++ with better design interface
and more efficient.

BVIMIT Page 53
Tour Hub

REFERENCES

Web reference:-

 http:// www.google.com/
 http://www.w3schools.com/
 http://www.tutorialpoint.com/

BVIMIT Page 54

You might also like