Microproject On Hotel Management System

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

MICROPROJECT ON

HOTEL MANAGEMENT SYSTEM

1|Page
ABSTRACT

The objective of our project is to develop a software for solving financial applications of a
customer in banking environment in order to nurture the needs of an end banking user by providing
various ways to perform banking tasks. Also to enable the users workspace to have additional
functionalities which are not provided under a conventional banking software.
The various options available in the Menu are:-
 Open Account
 Deposit Amount
 Withdraw Money
 Display
 Search
 Exit
The staff has to choose any option from the above and enter the room number and their request
will be processed.

2|Page
INDEX

SR.NO CONTENTS PG.NO

1. INTRODUCTION 4

2. MINIMUM THEORITICAL BACKGROUND 5

3. IMPLEMENTATION 6

4. PROGRAM AND OUTPUT 7

5. CONCLUSION 12

6. REFERENCE 13

3|Page
INTRODUCTION

Bank Management System is made in C++ and is a major project for students. It is used to
Keep the records of clients, employee etc .The bank management system is an application for
maintaining a personal account in a bank . The system provides the access to the customer to create
an account, deposit/withdraw the cash from his account, also to view reports of all accounts
present. The following presentation provides the specification for the system. To develop a
software for solving financial applications of a customer in banking environment in order to
nurture the needs of an end banking user by providing various ways to perform banking tasks. Also
to enable the users workspace to have additional functionalities which are not provided under a
conventional banking software.
BANK MANAGEMENT SYSTEM undertaken as a project is based on relevant
technologies. The main aim of this project is to develop software for bank management system.
This project is to develop software for bank management system. This project has been developed
to carry out the processes easily and quickly, which is not possible with the manuals systems,
which are overcome by this software. This project is developed using C++. Hence it provides the
complete solution for the current management system.

4|Page
MINIMUM THEORETICAL BACKGROUND

The objective of the project is to computerize the process of Bank management. We analyzed
various functions related to such a system, which mainly comprises of a account and customers
details.
The program consists of files like :-
Account details.
Customer details.
The program has following classes, data members & member functions:-
 Data Design:-

o Class bank
Data members (Private if not mentioned)
 Account no
 Name
 Balance
 Account name
Member functions (All public)
 Void open() – to add account.
 Void deposite() – To deposit amount.
 void withdraw() – To withdraw amount.
 void search() – To search customer records.
 Void display() – To display customer records.

5|Page
IMPLEMENTATION
Algorithm for Code:-
1. Start.
2. Include Header files.
3. Create a class bank which stores the data member & member function like open, deposit,
withdraw, search etc.
4. In the open function get the information of the customer and display it if the account is
available else display error.
5. To deposit amount that customer has given and display it.
6. To Withdraw amount that customer has given and display it.
7. In the search member function if the user want to search the data then enter the account no,
if not found return error.
8. End.

6|Page
PROGRAM AND OUTPUT

#include<iostream.h> cout<<"ENTER YOUR NAME : ";


#include<stdio.h> cin>>name;
#include<conio.h> cout<<"ENTER YOUR ACCOUNT
NUMBER : ";
cin>>account;
class bank
cout<<"ENTER THE AMOUNT OF
{
MONEY : BDT ";
private:
cin>>balance;
}
int ac_no,account;
float balance;
void bank::deposite(int j)
char name[20];

{
public:
int bnc;
void open(void);
void deposite(int);
if(account==j)
void withdraw(int);
void search(int);
{
void display(void);
cout<<"ENTER THE AMOUNT OF
MONEY : BDT ";

}; cin>>bnc;
balance=balance+bnc;

void bank::open(void) cout<<"\n\n\tJOB HAS DONE WELL


!!! \n";
}
{

7|Page
} }

void bank::withdraw(int k)
{ void bank::display(void)
int blnc,p; { cout<<"\n\nNAME :
"<<name<<"\n\nACCOUNT NO.
"<<account<<"\n\nBALANCE : BDT
if(account==k) "<<balance<<"\n\n";
}

{
cout<<"YOUR CURRENT
ACCOUNT BALANCE IS BDT
"<<balance<<"\n"<<"THE AMOUNT OF
MONEY YOU WANT TO WITHDRAW IS void bank::search(int m)
BDT ";
cin>>blnc;
{
p=balance-blnc;
{ if(p<0)
if(account==m)
cout<<"SORRY !!! THERE IS
{
NOT ENOUGH MONEY IN YOUR
ACCOUNT\n"; cout<<"\n\n*******Account Holder's
INFO*******";
else if(p>=0)
cout<<"\n\nNAME :
{
"<<name<<"\n\nACCOUNT NO.
cout<<"\n\tYOUR REQUEST TO "<<account<<"\n\nBALANCE : BDT
WITHDRAW MONEY HAS DONE\n\n"; "<<balance<<"\n\n";
balance=p;
cout<<"\n***************************
}
************\n\n";
}
}
}
}
8|Page
DEPOSITE AMOUNT\n\n"<<"PRESS 3
TO WITHDRAW MONEY \n\n"<<"PRESS
void main()
4 TO DISPLAY \n\n"<<"PRESS 5 TO
{ SEARCH \n\n"<<"PRESS 6 TO EXIT
\n\n\t\n";
int i,j,k,m,l,y=0;
cout<<"Your option......";
bank b[20];
int index;
cin>>index;
// textcolor(0);
switch(index)
//textbackground(4);
{
clrscr();
case 1:
cout<<"\nHOW MANY
ACCOUNT YOU WANT TO OPEN?\n";
// system("cls"); //opening account
cin>>y;

cout<<"\n\t\t\t************************ for(i=0;i<y;i++)
****"; b[i].open();
cout<<"\n\t\t\t* BANK MANAGEMENT break;
PROJECT *";
case 2:
cout<<"\n\t\t\t************************
****"; cout<<"\nENTER YOUR
ACCOUNT NO. "; //deposite
cout<<"\n\n\t\tDeveloped By:"; amount
cout<<"\t PRAJWAL PATIL & cin>>j;
GROUP\n\n";
for(i=0;i<y;i++)
//cout<<"\n\n\n\n\n\n\n\t\t\t\t\tPress any key
to continue....!!"; {
b[i].deposite(j);
}

do break;

{ case 3:

cout<<"\a\nPRESS 1 TO OPEN
ACCOUNT\n\n"<<"PRESS 2 TO
9|Page
cout<<"\nENTER YOUR cout<<"\nENTER YOUR
ACCOUNT NO. "; //withdraw ACCOUNT NO. "; //search option
money
cin>>m;
cin>>k;
for(i=0;i<y;i++)
for(i=0;i<y;i++)
{
{
b[i].search(m);
b[i].withdraw(k);
}
}
break;
break;
case 6:
break;
case 4:
for(i=0;i<y;i++)
default:cout<<"\nYOU HAVE
{ PRESSED THE WRONG KEY. PLEASE
//display option TRY AGAIN. \n\n\n";
b[i].display(); break;
} }
break; } while(index!=6);
case 5: }

10 | P a g e
Program Outcome:-

The user can choose from various options given below :-

11 | P a g e
CONCLUSION

The project was successfully executed and the desired output was obtained. The project surely will
be able to make the bank management system easy. In this project the concept of inheritance, file
operations, classes, etc. was properly implemented. The projects like these can be used to in
different fields like the banking or the library management system. The project can contain the
timing of arrival and departure of customer for safety purpose.

12 | P a g e
REFERENCES

 http://www.muengineers.in/computer-project-list/visual-basic-projects-list/bank-
management-system
 https://www.codewithc.com/banking-record-system-project-c/
 http://cncpp.divilabs.com/2013/11/c-banking-managment-system-project-with.html
 http://cppprojectcode.blogspot.com/2010/09/banking-management-system_06.html
 https://www.mycplus.com/free-utilities/bank-management/
 https://www.scribd.com/doc/26835702/Project-in-c-Banking-Management-System

13 | P a g e

You might also like