Object Oriented Programming (OOP 22316)
Report of Micro Project
Hotel Billing System
1.0. Rationale:-
This program is based on the Hotel Billing System using C++ programming language. It
accepts and displays data on Hotel Bill.
2.0. Aims/Benefits of the Micro-project:-
The main aim of this microproject is to Develop a C++ program to accept and display records of
the Hotel Billing Management System.
The benefits of this Microproject are as follows:
1) Through Inheritance, we can reduce the length of the code and extend the use of existing
classes.
2) Data is hidden and cannot be accessed by external functions.
3) New data and functions can be easily added whenever required.
3.0. Course Outcomes Addressed:-
1) Develop C++ programs to solve problems using a procedure-oriented Approach.
2) Develop C++ programs using classes and objects.
3) Implement Inheritance in C++ program.
4.0. Literature review:-
The project is based on developing a program for accepting and displaying the basic and
essential data related to the Hotel Billing System.
We have collected the following samples of Hotel Bills as a reference for our Micro-Project they
are as follows:
5.0. Actual Methodology:-
1) Planning the overview of the micro-project.
2) Finalizing the programming compiler & collecting required media.
3) Initiating the micro project topic for making a C++ Program.
4) Making the initial structure of the program.
5) Combining and tuning all the initial structures and coding for Programming. 6) Work done by
Team Members are as follows:
Sr. No. Work Done Team Members
1. Implementation Of the Program All Members
2. Making Report , Aditya Shelar
3. Class (Hotel_receipt_display – Derived Tanmay Kulkarni
Class)
4. Compiling & Testing the Program Ishan Raut
7) Got the desired Output.
8) Preparing for the report.
9) Report submission.
6.0. Outputs of Micro-project:-
➢ Program & Output
PROGRAM
#include<iostream.h>
#include<conio.h>
float no,price[50],total[50],qty[50],tt
;
char item[30];
void main()
{
int i,j;
clrscr();
cout<<"\n\n\t\t\t TI A HOTEL BILLING Software\n\n";
cout<<"\nEnter The No. Of Food Items Ordered:";
cin>>no;
cout<<"\n\nSL N o\tITEM NAME\tQUANTITY\tPRICE/ITEM\n\n";
for(i=1;i<=no;i++)
{
cout<<i;
cout<<"\t";
cin>>item;
cout<<"\t";
cin>>qty[i];
cout<<"\t";
cin>>price[i];
total[i]=price[i]*qty[i];
cout<<"\n\n";
}
for(i=1;i<=no;i++)
{
tt=tt+total[i];
}
cout<<"\n\n\t\t\tTOTAL:"<<tt<<" Rupees";
cout<<"\n\n\t\t\tTHANK YOU VISIT AGAIN.....";
getch();
}
7.0. Resources Required:-
Sr.no Name of the Specification Remarks
resources/material
1. Computer system. Intel(R) Core(TM) i3- 1
7100, 4GB RAM 64-bit
Operating System
2. DOS BOX. Version 0.7. 1
3. Turbo C++. Version 3.0. 1
8.0. Skills Developed:-
1) Developing learning skills, out of the syllabus.
2) We learned to develop programs using C++ language.
3) learned to develop classes, and objects and implement the Inheritance 4) Through this
microproject, our concepts got clearer.
5) Team handling skill
9.0. Application of Micro-project:-
1) This microproject can be used to have proper records of the Hotel
Bills.
2) This can be used at different hotels.
3) It will help to generate Hotel Bills very easily.