In this system we will make extensive use of files system in C++.
We will have a login id system initially. In this system we will be having separate functions for
• Getting the information
• Getting customer information who are lodged in
• Allocating a room to the customer
• Checking the availability
• Displaying the features of the rooms.
• Preparing a billing function for the customer according to his room no.
In the software developed separate functions will be there for each of the above points so that there is ample scope for adding more features in the near future.
Download From Here : https://drive.google.com/folderview?id=0B5y_t4zL91BZaWRkY1VPeElJNVE&usp=sharing
Phone book with project report for BCA,MCASp Gurjar
"Phone Book" project with project report as well as all steps to help in making your own project and project report.
It is help-full for BCA,MCA,CSE, and BscIt & MscIT students for making their own project with report.
Phone book with project report for BCA,MCASp Gurjar
"Phone Book" project with project report as well as all steps to help in making your own project and project report.
It is help-full for BCA,MCA,CSE, and BscIt & MscIT students for making their own project with report.
A Student Management System Project abstract that contains the basics needs in a student management system. It can also be used as a base to implementing your new creative ideas.
Online quiz system project is a web application developed in java. Students can download full project source code with project report and documentation. This application is useful as education project for college students. This ppt consists of design details and source code links.
A Student Management System Project abstract that contains the basics needs in a student management system. It can also be used as a base to implementing your new creative ideas.
Online quiz system project is a web application developed in java. Students can download full project source code with project report and documentation. This application is useful as education project for college students. This ppt consists of design details and source code links.
Physics Earth magnetic field using tangent galvanometerTushar Ukey
Class 12 investigatory projects about to study earth magnetic field and find using value tangent galvanometer hope you like it my friend work very hard to make this project please download my doc file to use it to your own purpose. and also take some information from that thanks.
Physics investigatory project for class 12 on the topic " to estimate charge induced on two styro foam / pith balls separated by a distance "
Just change the name and cover page.
Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )Vidhi Kishor
This software is basically a CD Management Software which can be used in a CDs Store. It keeps the record of all the CDs present in the CDs Store and we can also add more records for the fresh arrivals. This project can search the CDs available in the store, by various modes like Singer Name, CD Name, Release, and cost. It also has a unique feature of BACKUP to save all our records and also, if anything goes wrong, then we can restore our last backup file.
Petrol Station Safety Tips
This preso is the first one I have every created after one of my friends inspired me about how boring most of the presentation today are and how to create a different one.
Thanks go to him and all innovative and creative presentation designers like Jesse Desjardins.
Presentation for
Vendor Contact Management Application
contact management system (CMS)
visit us : http://www.rankexpert.co.in
call us : +91 9004779900
---
About RankExpert !
RankExpert SEO Consultant Services
Commitment to deliver end-to-end IT solutions and services. We offer business-friendly solutions across all type of business.
Outsource your IT solutions to us based in Mumbai India.
Website development
Web applications for all type of Business
Mobile application developments
Customer relationship Management
SEO marketing
Increasing the visibility of your websites in search engines.
We help you achieve a successful target audience for your business
Email marketing solution
Hosting solutions
---
Know about CMS?
A CMS - contact manager is a software program that enables users to easily store and find contact information
such as names, addresses and telephone numbers.
contact-centric databases
integrated approach to tracking of all information and communication activities
several people in a company to access the same database
Centralized repository of contact information
Ready to use database with searching
Document management
Notes and conversation management
Import/export contact utility
---
How CMS works?
Contact Management Software
Create an electronic database of customers and business contacts. As companies have searched for ways to consolidate, streamline, and share customer information, client management software tools . Nowadays, contact management systems let people and businesses record and track customer, client, and supplier interactions, documents, and more.
Businesses have come to understand that they can boost productivity and lower costs by managing all this information with a single, integrated platform rather than a proliferation of client management software tools with different data collection schemes.
---
Getting Started !
What Can You Do With Contact Manager?
Track all contacts and related opportunities, activities, and other details from a centralized, shared database
Contact management software for any business entrepreneur to maintain their customer database.
online software to share and manage addresses and contacts
Keep Contact Information Accessible
Contact management software to store important contact information, like contact/company name, phone numbers, email and billing addresses, and notes. Your contacts’ critical information will be easily accessible online from any location.
---
What we will deliver to you
Affordable cost solutions
Develop the CMS web application
Design content and structure
Rights and roles management
Documents management
Contact Communication Management
Reports and analysis
Hosting and setup of application
Database maintenance
Application support
Computer science Investigatory Project Class 12 C++Rushil Aggarwal
This project is based on File Handling . An innovative project on petrol pump management , deals with basic function in a petrol pump .
Do like , share and comment if my work helped you ;)
Computer science class 12 project on Super Market BillingHarsh Kumar
Certificate
--Declaration
--Acknowledgement
--Hardware and software requirements
--Classes and function used
--Header files used
--Files generated
--Working description
--Coding
--Output screen
--Bibliography
Class 12th computer science C++ coding for Banking System program.
Features in Program:
1. New Account
2. Deposit Amount
3. Withdraw Amount
4. All Account Holder List
5. Delete Account
6. Edit Account
7. Exit
Its a documentation part for of an Employee Management System designed in Visual C++. The entire documentation is a description for the application made. And, the application is entirely based on OOP (Object Oriented Programming) concepts. Further, If anybody wants the application (entire program) of the same, here's the link - https://github.com/jayantgope/Employee-Management-System.git
4.2 Service TestThis test is for the Services module. It designe.docxgilbertkpeters11344
4.2 Service Test
This test is for the Services module. It designed to test the software routines that perform the service functions of the BBMS. {{Add some more here about the white-box testing, etc}}
4.2.1 CalendarLookup Service
(See SDD sections 5.1.2 and 6.1.1)
This tests the algorithm that displays a calendar with reservation days highlighted in calendar days.
{{ Refer to the section number with the screen in the SDD and the section with the module in the module detailed design section of the SDD }}
{{ Also there is a description of what the module is supposed to do in the module detailed design of the SDD detail design section }}
Input Specifications
Output Specifications
Click Reservations button from the main menu.
Calendar screen will come up.
Click Room 1 button
setRoomId has value of 1
getPrice retutns a value of 80.00
getReservedFlag returns false value
all calendar display day have white value
Click Room 2 button
setRoomId has value of 2
getPrice returns a value of 90.00
getReservedFlag returns true value
all calendar display day have white value except days 15 and 16 which a have blue value
Click Room 3 button
setRoomId has value of 3
getPrice returns a value of 100.00
getReservedFlag returns false value
all calendar display day have white value
Click Exit Button
Calendar screen closes and main menu screen is displayed
4.2.2 MakeReservation Service
(See SDD sections 5.1.3 and 6.1.2)
Input Specifications
Output Specifications
Click Room 3 button
setRoomId to Rooms has value 3
getPrice from Rooms has value 100.00
Click the calendar pop-up button the Reservation Start Date box
GUI function to pop-up small calendar is executed
Click 14 on the pop-up calendar
GUI calendar puts value 14 in putStartDate
Click the calendar pop-up button in the Reservation End Date box
GUI function to pop-up small calendar is executed
Click 16 on the pop-up calendar
GUI calendar puts value 16 in putEndDate
Click the Guaranteed box
setGuaranteed is set to true
Click the calendar pop-up button in the Guaranteed Date box
GUI function to pop-up small calendar is executed
Click 10 on the pop-up calendar
GUI calendar puts value 20141110 putGuaranteedDate
Click Create Reservation button
addReservation executes to create a new reservation record in the Reservation domain object.
It returns a new reservation index value which is put into reservationId of Rooms domain object to link the reservation to the room.
It puts the values inputted from user interface into new reservation record.
4.2.3 AddGuest Service
(See SDD sections 5.1.4 and 6.1.3)
Input Specifications
Output Specifications
Enter James in the First Name box and press the enter key.
Value nameFirst associated with the reservationId is set to “James”
Enter Markman in the Last Name box and press the enter key.
Value nameLast associated with nameFirst and reservationId is set to “Markman”
Enter 101 Fairview Street and press the enter key.
Value cusAddress associated with active reservationId.
OfficeCentral User Manual for Billing (English) V1R2venturesmarketing
OfficeCentral is a system that uses cloud technology (internet cloud-based software) and includes essential modules to manage a company, namely HRMS, Salary Calculation (Payroll), Accounts, and Customer Management (CRM).
OfficeCentral is a web application specially designed for small and medium industrial companies to manage companies more efficiently and smoothly.
We are providing online assistance to help you learn OfficeCentral User manual for Billing.
It was a project to make college network which is developed on Cisco Packet tracer. In that we have to configure server then that ip is to distributed among no of Pcs , Printer , wireless phone With different categories of IP.
This project was windows based application. In this project we had developed an application that will manage the details of prisoner and the warden in a cell. This system was developed in Java and for data base MS Access 2007 we had used.
The objective of the given assignment is to identify the different problems in the existing system and propose a solution as well as to make assumptions in areas which lack information. Prepare a feasibility report in four dimensions of feasibility namely-technical, operational, schedule and economical. Choose an appropriate methodology for developing the proposed solution and compare it with various other methodologies. Identify the breakdown of work associated with the chosen methodology. Apply two paradigms of analysis based on object oriented and structured approaches and document them and then present a solution to it.
In short, the main objectives of the project are:
1. To identify the framework of activities associated with methodologies and describe how the techniques are used together to develop a system.
2. To demonstrate, apply and document, to the appropriate standard, the key techniques of analysis and design for the chosen paradigm.
3. To identify the key user interface issues required in a system design.
Based on the mentioned objectives, our team has chosen SSADM as the methodology which stands for Structured System Analysis and Design which has been justified and compared with other methodologies. Physical and logical designs are designed appropriately and documented accordingly giving crystal clear description. All the requirements of the project have been tried to be met with our best efforts and working criteria.
Professional enterprise and development - IBMPrince Kumar
In the given assignment, the team members are needed to develop a recruitment strategy for IBM. According to the given scenario, The Information Resources Management Department handles the company’s daily IT operations as well as managing new IT projects to improve the company’s business process. The HR Department has put in a request for an improved employees information management system with a view to integrate this with the payroll system. The Development Team from the Information Resources Management Department is planning to hire 3 new employees to assist with the project. The vacancies are for
• Network Administrator
• Project Manager
• Software Developer
On the basis of this case study the team has to complete the following group tasks:
• Produce 3 job descriptions
• Produce 3 personal specifications
• Produce 3 job advertisements
• Decide upon a recruitment strategy for the 3 posts
• Produce a recruitment timetable
• Design an interview strategy/approach for each of 3 posts
The individual tasks include the following:
• Two suitable vacancies and justification for these vacancies
• A CV targeted at each vacancy.
• An application letter targeted at each vacancy.
• For each vacancy, prepare questionnaires which will be asked during the interview sessions.
• A reflection of the module.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxEduSkills OECD
Andreas Schleicher presents at the OECD webinar ‘Digital devices in schools: detrimental distraction or secret to success?’ on 27 May 2024. The presentation was based on findings from PISA 2022 results and the webinar helped launch the PISA in Focus ‘Managing screen time: How to protect and equip students against distraction’ https://www.oecd-ilibrary.org/education/managing-screen-time_7c225af4-en and the OECD Education Policy Perspective ‘Students, digital devices and success’ can be found here - https://oe.cd/il/5yV
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
Embracing GenAI - A Strategic ImperativePeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
This is a presentation by Dada Robert in a Your Skill Boost masterclass organised by the Excellence Foundation for South Sudan (EFSS) on Saturday, the 25th and Sunday, the 26th of May 2024.
He discussed the concept of quality improvement, emphasizing its applicability to various aspects of life, including personal, project, and program improvements. He defined quality as doing the right thing at the right time in the right way to achieve the best possible results and discussed the concept of the "gap" between what we know and what we do, and how this gap represents the areas we need to improve. He explained the scientific approach to quality improvement, which involves systematic performance analysis, testing and learning, and implementing change ideas. He also highlighted the importance of client focus and a team approach to quality improvement.
Honest Reviews of Tim Han LMA Course Program.pptxtimhan337
Personal development courses are widely available today, with each one promising life-changing outcomes. Tim Han’s Life Mastery Achievers (LMA) Course has drawn a lot of interest. In addition to offering my frank assessment of Success Insider’s LMA Course, this piece examines the course’s effects via a variety of Tim Han LMA course reviews and Success Insider comments.
How to Create Map Views in the Odoo 17 ERPCeline George
The map views are useful for providing a geographical representation of data. They allow users to visualize and analyze the data in a more intuitive manner.
We all have good and bad thoughts from time to time and situation to situation. We are bombarded daily with spiraling thoughts(both negative and positive) creating all-consuming feel , making us difficult to manage with associated suffering. Good thoughts are like our Mob Signal (Positive thought) amidst noise(negative thought) in the atmosphere. Negative thoughts like noise outweigh positive thoughts. These thoughts often create unwanted confusion, trouble, stress and frustration in our mind as well as chaos in our physical world. Negative thoughts are also known as “distorted thinking”.
How to Split Bills in the Odoo 17 POS ModuleCeline George
Bills have a main role in point of sale procedure. It will help to track sales, handling payments and giving receipts to customers. Bill splitting also has an important role in POS. For example, If some friends come together for dinner and if they want to divide the bill then it is possible by POS bill splitting. This slide will show how to split bills in odoo 17 POS.
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
1. APIIT SD INDIA
CE00314-2 FPCOP
FURTHER PROGRAMMING CONCEPTS IN C++
HAND OUT DATE: 17TH
AUGUST 2012
HAND IN DATE: 8TH
NOVEMBER 2012
Submitted by:
Prince Kumar
Intake no: PT1082219
2. Certificate
This is to certify that the project Hotel Management System of the
module Further Programming Concepts have been successfully
completed by Prince Kumar Intake No.PT1082219 of level 2.The
project has been covered all the required areas in an appropriate
manner.
4. Acknowledgment
“Gratitude is the fairest blossom which springs from the soul”
Feeling gratitude and not expressing it is like wrapping a present and not giving it. We take
this opportunity to convey our heartfelt gratitude to each and every one who has supported us
in every way or the other during the course of our project.
From the very core of our heart, we would like to express our sincere gratitude to Miss. Dipti
for his supervisory guidance. We are always indebted to him for his kind support and
constant encouragement and his enthusiasm to complete our project milestones.
It requires lots of efforts in terms of cooperation and support to fulfill various tasks involved
during the project. We are always grateful to our peers and friends who have always
encouraged us and guided us whenever we needed assistance.
We also take this opportunity to express our appreciation to all the participants involved
during our preliminary research for their invaluable time to answer our queries and
suggestions for the application to be developed.
Things always remain hidden in the shadow of the unsung heroes; still we would to thank all
the people passively involved in the assignment, people who encouraged us day in and day
out to make it a success.
At last but above all, we thank the Almighty for his blessings.
Prince Kumar
PT1082219
6. INTRODUCTION
A typical luxury Hotel requires a management system to control its various
operations such as maintaining account of all the people in its domain of
services, attending to various needs of customers and also achieving increased
efficiency in the overall working of the Hotel itself.
1.1PURPOSE OF THE SYSTEM
The Hotel Management System aims to make simpler a staff’s interaction
with the various modules of the Hotel and ease the process of acquiring
information and providing services. The system can be accessed by the
admin and customers but the highest priority given to admin that are
allocated a login id and password. It will also allow cutting the operational
costs of the hotel.
1.2 SCOPE
In this system we will make extensive use of files system in C++.
We will have a login id system initially. In this system we will be having
separate functions for
Getting the information
Getting customer information who are lodged in
Allocating a room to the customer
Checking the availability
Displaying the features of the rooms.
Preparing a billing function for the customer according to his
room no.
In the software developed separate functions will be there for each of the
above points so that there is ample scope for adding more features in the
near future.
7. 1.3 HARDWARE AND SOFTWARE REQUIREMENTS
The platform used is C++. Hence we decided to use Microsoft Visual
Studio 2010/2008 edition (Professional Edition).
For optional coding and easy debugging we used Microsoft Visual Studio 2008
edition and made explicit .cpp files.
Henceforth for optimal usage of such software a windows based operating
system preferably Windows vista/7/XP must be there. Also on the hardware part
any system having Windows Vista/7/XP installed will suffice.
2.0 Design Description
2.1 Interface Design
Fig: welcome screen
Welcome Page where user get the info about the application.
8. Fig : Login Screen
Login screen for admin and for customer here admin have the highest priority where
admin can add, delete, search, update and many more.
Customer can view on availability of rooms
Fig : Admin Login
Admin :- User name : admin
Password: admin
Login page for admin. it is for security purpose . no one can access admin page . only
admin have the permission to handle records.
9. Fig : Admin Login
Admin :- User name : admin
Password: admin
Fig : Admin screen
Options to handle records.
10. Fig : Add_customer
Adding customer details
Name
ID
ID_Proof
Customer_occupation
Customer_checkin
Customer_checkout
Fig : Add_customer1
12. Fig : Customer_bill
Fig : Final_Bill
Calculating the overall bill by taking Cust_name , no. of stayed , room charges , other
charges
13. Fig : Update_customer
Updating the details of the customer by taking user name.
Fig : search_customer
Customer can be searched by just taking the name of the customer
18. 2.4.3. DFD-CHECK_OUT
3.0 Description & Justification of OO concepts
3.1 Object
We used to create object to call the function which is related to any particular class we had
objects to call the function in this assignment. here we had created view object of class
customer to call the function welcomecreen() and loginscreen() functions to call then in main
functions
#include"customer.h"
using namespace std;
void main()
{
customer view;
view.welcomescreen();
view.login_screen();
}
19. 3.2 Polymorphism
Complier is able to select the appropriate function for a particular call at the complie time
itself (also called as early binding )
we use polymorphism to access the variables from different class in this project we had use
polymorphism to get access the variables of customer class.
Code:
class Generatebill:public customer
3.3 Class
Bind the data and its associated functions together it allows data to be hidden if necessary
from external use defining a class we are creating a new abstract data type that can be treated
like other built – in data type
Code :
#ifndef H_M
#define H_M
#include<string>
#include<iomanip>
#include<iostream>
#include<fstream>
#include<conio.h>
#include<math.h>
#include<time.h>
using namespace std;
class customer
{
public:
int custm_id;
int custm_age;
int check_inyear;
int check_inmonth;
int check_indate;
char roomtype[20];
char custm_name[30];
int room_charge;
int compare(char[]);
20. char custm_occupation[20];
void getdata();
void putdata();
long total; //variable for Generate Bill
int food;
long room;
float ser;
int t;
int oc;
int r_day;
public:
void welcomescreen();
void login_screen();
void add_customer();
void delete_customer();
void update_customer();
void search_customer();
void main_screen();
void display_customer();
void checkout_customer();
void room_detail();
void generate_bill();
void room_bill();
};
#endif
3.3 Encapsulation
It is a process of wrapping up to data value and member in a single unit (class).
21. 4.0 Description of Validation
In every project validation is the important parts while the development. In
Hotel Management System we had also provided proper validation to make
system error free. In this system we had provided validation in date month and
year to get proper date from administrator. The codes which we had used to get
proper validation in date system are mentioned below.
code:
cout<<"nEnter customer CheckIn Date : ";
START:
cout<<"n--------------------------------";
cout<<"nYear : ";
cin>>check_inyear;
cout<<"nMonth : ";
cin>>check_inmonth;
cout<<"nDate : ";
cin>>check_indate;
cout<<"nEnter Room Type : ";
cin>>roomtype;
22. cout<<"nEnter Room Charge : ";
cin>>room_charge;
if((check_inmonth==2) && (check_indate>29))
{
cout<<"wrong input!!!n";
cout<<"nenter the date again....n";
goto START;
}
if((check_inmonth>12)||(check_indate>31))
{
cout<<"wrong input!!!n";
cout<<"nenter the date again....n";
goto START;
}
if((check_inmonth==4||check_inmonth==6||check_inmonth==9||check_inmonth
==11) && (check_indate>30))
{
cout<<"wrong input!!!n";
cout<<"nenter the date again....n";
goto START;
}
if((check_inyear%4)!=0 && (check_inmonth==2) && (check_indate>28))
{
cout<<"wrong input!!!n";
cout<<"nenter the date again....n";
goto START;
}
We had use the validation in the adminstration login while entering the wrong
user name & password it show the popup menu.
cout<<"ttttUser Name = ";
cin>>username;
if(strcmp(username,"admin")==0)
{
string pass ="";
char ch;
cout <<"nttttPassword = ";
ch = _getch();
while(ch != 13)
{
26. cout<<"Sorry!!!! Record Not found";
}
getch();
}
DELETE CUSTOMER
void customer::delete_customer()
{
fstream file;
fstream temp;
temp.open("tempdata.txt",ios::out);
customer c;
int i=1;
char nam[25];
file.open("customer.txt",ios::in);
cout<<"tttt All customer Detail n";
cout<<"ttt_____________________________nn";
cout<<"ttttn Enter name to Search: ";
cin>>nam;
file.seekg(0,ios::beg);
while(file.read((char *) &c, sizeof(customer)))
{
if(!c.compare(nam))
{
cout<<"tttt custm_id"<<" "<<"custm_namen"<<endl;
cout<<" "<<c.custm_id<<"
"<<c.custm_name;
i=0;
temp.write((char *)&c,sizeof(customer));
}
}
file.close() ;
temp.close();
remove("customer.txt");
rename("tempfile.txt","customer.txt");
getch();
}
27. CHECKOUT_CUSTOMER
void customer::checkout_customer()
{
system("cls");
cout<<"nttt_______________________________________"<<endl;
cout<<"ntttt HOTEL MANAGEMENT SYSTEM "<<endl;
cout<<"nttt_______________________________________nn"<<en
dl;
cout<<"tttt All customer Detail n";
}
ROOM_DETAIL
{
system("cls");
cout<<"nttt____________________________________"<<endl;
cout<<"nttttHOTEL MANAGEMENT SYSTEM "<<endl;
cout<<"nttt____________________________________n"<<endl;
cout<<"ttttAll customer Detail n";
cout<<left<<setw(10)<<"roomtype"<<left<<setw(15)<<"room_charge"<
<endl;
}
Generate Bill
#include "customer.h"
class Generatebill:public customer
{
public :
int r_charge;
char custm_name[25];
char b;
public:
void calculate()
{
system("cls");
cout<<"n Enter Room type:";
28. cout<<"n Select 1 for Super Luxary n
Select 2 for Luxary n Select 3 for Delux n";
cin>>b;
if(b=1)
{
r_charge=4000;
}
else
if(b=2)
{
r_charge=3000;
}
else
if(b=3)
{
r_charge=2000;
}
else{
cout<<"n Wrong choice ...";
cout<<"n ERROR: Room is not
allocated.";
cout<<"n Bill cannot be created ";
}
cout<<"n Enter the bill amount of restaurant:";
cin>>food;
cout<<"n Enter other charges:";
cin>>oc;
cout<<"n Enter customer name:";
cin>>custm_name;
cout<<"n Enter number of days:";
cin>>r_day;
room= r_charge * r_day;
t=(int) room + food + oc;
ser=(int)(0.05*t);
total=t+ser;
}
void display_bill()
{
system("CLS");
29. cout<<"n________________________________________________________
________________________";
cout<<"n Marriott Luxury Hotel ";
cout<<"n ____________________________________
";
cout<<"n Chandigarh , Punjab-070. ";
cout<<"n Tel :- 12253636 ";
cout<<"n--------------------------------------------------------------------------
------";
cout<<"n Customer name : "<<custm_name;
cout<<"n ";
cout<<"n Stayed for "<<r_day<<" days";
cout<<"n Room charges : "<<r_charge<<"(Per day)";
cout<<"n Room charges : "<<room<<"(total)";
cout<<"n Restaurant bill : "<<food;
cout<<"n Other charges : "<<oc;
cout<<"n Ser.tax % = 5%";
cout<<"n Ser.tax ="<<ser;
cout<<"n Bill Amount >>>>>> Rs "<<total;
cout<<"n ";
cout<<"n THANK YOU !!!!!";
cout<<"n Visit Again !";
}
};
void customer::generate_bill()
{
Generatebill b;
b.calculate();
b.display_bill();
}
30. 6. TESTING
TEST CASE 1:
TEST CASE Number CASE 1.0 TEST CASE LOGIN
SYSTEM HMS SUBSYSTEM NIL
DESIGNED BY PRINCE DESIGN DATE 1 NOV
EXECUTED BY PRINCE EXECUTION DATE 8 NOV
SHORT
DESCRIPTION
Administration should login the system and display the
transaction
Screen on input of all choice as the username and 'a' as
password
PRE - CONDITIONS :
The user of the system is registered in the HMS and has a valid username and password.
User inputs 'admin' as the username and 'admin' as the password.
System displays the transaction screen
STEPS ACTION EXPECTED RESPONSE PASS /
FAIL
COMMENT
1 Go to login
page
Login page is popped in the
centre of the window
PASS Login page is
successfully
displayed
2 Enter
required
information
Input 'admin' as the
username and 'admin' as the
password
PASS
3 Submit the
information
The user presses the enter
button and waits for the
reply
PASS System
processes the
data
4 Display
main page
The application displays the
transaction screen granting
successful login to the user
PASS Transaction
screen is
Displayed
TEST CASE 2:
TEST CASE Number CASE 2.0 TEST CASE Issue a Book
SYSTEM LMS SUBSYSTEM NIL
DESIGNED BY PRINCE DESIGN DATE
1
OCTOBER
31. EXECUTED BY PRINCE EXECUTION DATE
9
OCTOBER
SHORT
DESCRIPTION
HSM should ADD CUSTOMER on successful entry of required
information
PRE - CONDITIONS :
HMS must ADD CUSTOMER on providing necessary information such as cutomer id, customer
name, occupation etc. and must successfully add the database accordingly.
STEPS ACTION EXPECTED RESPONSE PASS /
FAIL
COMMENT
1 Select add
customer
no
Add customer page should
be displayed
PASS Add customer
page is
successfully
displayed
2 Enter
required
information
Provide customer id, name
and of the customer you
want to add
PASS No error
found
3 Submit the
information
The user enter and waits for
the messege
PASS System
processes the
data
4 Add
customer
The application should add
customer and updated the
database accordingly
FAIL Customer
were not
updated in the
database
TEST CASE 3:
TEST CASE Number CASE 3.0 TEST CASE Return a Book
SYSTEM HMS3 SUBSYSTEM NIL
DESIGNED BY PRINCE DESIGN DATE 1 OCTOBER
EXECUTED BY PRINCE EXECUTION DATE 10 OCTOBER
SHORT DESCRIPTION HMSshould calculate the room charges entry of required information
PRE - CONDITIONS :
HMSmust calculate on providing necessary information such as room name, room fare, extra
charge etc. and must successfully show the total charge accordingly.
32. STEPS ACTION EXPECTED RESPONSE PASS /
FAIL
COMMENT
1 Go to
screen page
calculate should be
displayed
PASS Calculate
page
successfully
displayed
2 Enter
required
information
Room type, room fare ,extra
charges of the customer you
want to charge
PASS No error
found
3 Show the
information
The user enter and waits for
the display
FAIL System not
properly
calculate
7. CONCLUSION
At the end of this coursework, I was able to:
- Explain object oriented programming concepts and apply them to the modelling of
real world systems.
- Explain the object oriented paradigm and utilisation of the offered facilities.
- Demonstrate the ability to develop and derive new class structures and organise
them such that they will model real world systems within computers.
8. REFERENCES
1. Balaguruswamy 1 E,(2006),” Object Oriented Programming with C++”. 3rd
ed. Tata McGraw-Hill Publishing Company Limited Pages 54 - 68.
2. http://v2.cplusplus.com/forum/lounge/12685/ (CODER)