100% found this document useful (3 votes)
7K views

Computer Science Project On Hotel Management

Best computer science project on botel management

Uploaded by

GLobal tOys
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
100% found this document useful (3 votes)
7K views

Computer Science Project On Hotel Management

Best computer science project on botel management

Uploaded by

GLobal tOys
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 33
CIEN guTer ° on PRO, o A ON HOTEL ManncEMENT SESSION:2019-2020 CLASS:-XII-A ROLL NO:- Submitted to:- Submitted by:- Mr. Mohit Kumar Kanhaiya Kumar TABLE OF CONTENTS Pg.No: Certificate 03 Declaration 04 Acknowledgement 05 Introduction 06 Header files 07 Coding 08 Output 27 Requirement 32 Bibliography 33 v v v v v v v v v CERTIFICATE This is to certify that Kanhaiya Kumar is a student of class XII-A. He has successfully completed project in Computer Practicals for AISSCE as prescribed by CBSE under guidance of Mr. Mohit Kumar (subject teacher) during the year 2019-2020 in partial fulfilment of Computer Science practical examination of Central Board of Secondary Education(CBSE). PRINCIPAL SUBJECT TEACHER Mrs. Nirmaljit Kaur Mr.Mohit Kumar DECLARATION I here by declare that the project work entitled “HOTEL MANAGEMENT” submitted to the Navyug Schoool Mandir Marg is a record of original work done by me _ except of experiments, which are duly acknowledged under the guidance of my subject teacher“ Mr.Mohit Kumar”. ACKNOWLEDGMENT I would like to express my special thank to our school “NAVYUG SCHOOL MANDIR MARG”, Principal sir Madam Nirmaljit Kaur, to the management team of our school who gave me the golden opportunity to do this wonderful project on the topic “HOTEL MANAGEMENT”, which also helped me in doing a lot of research and I came to know about many new things. Secondly I would also like to thank my parents and friends who helped me a lot in finishing this project within the limited time. INTRODUCTION A hotel is an establishment that provides lodging paid on a short-term basis. Facilities provided may range from a basic bed and storage for clothing, to luxury features like en-suite bathrooms. Larger hotels may provide additional guest facilities such as a swimming pool, business center, childcare, conference facilities and social function services. Hotel rooms are usually numbered (or named in some smaller hotels and B&BS) to allow guests to identify their room. Some hotels offer meals as part of a room and board arrangement. In the United Kingdom, a hotel is required by law to serve food and drinks to all guests within certain stated hours. In Japan, capsule hotels provide a minimized amount of room space and shared facilities. HEADER FILES USED #include #include #include CODING #include #include #define max 100 (Class Customer class Customer { public: char name[ 100]; char address[100]; char phone[ 12]; char from_date[20]; char to_date[20]; float payment_advance; int booking_id; h class Room { public: char type; char stype; char ac; int roomNumber; int rent; int status; class Customer cust; class Room addRoom(int); void searchRoom(int); void deleteRoom(int); void displayRoom(Room); h //Global Declarations class Room rooms{max]; int count=0; Room Room::addRoom(int rno) { class Room room; room.roomNumber=mo; cout<<"\nType AC/Non-AC (A/N) : cin>>room.ac: cout<<"\nType Comfort (S/N) : "; cin>>room.type; cout<<"\nType Size (B/S) : cin>>room.stype; cout<<"\nDaily Rent : "; cin>>room.rent; room.status=0; cout<<"\n Room Added Successfully!"; getch(); Teturn room; } void Room::searchRoom(int rno) { int i,found=0; for(i=0;i>mo; for(i=0;i>rooms[i].cust.booking_id; cout<<"\nEnter Customer Name (First Name): "; cin>>rooms[i].cust.name; cout<<"\nEnter Address (only city): "; cin>>rooms[i].cust.address; cout<<"\nEnter Phone: "; cin>>rooms[i].cust.phone; cout<<"\nEnter From Date: "; cin>>rooms[i].cust.from_date; cout<<"\nEnter to Date: cin>>rooms[i].cust.to_date; cout<<"\nEnter Advance Payment: "; cin>>rooms[i].cust.payment_advance: rooms{i].status=1; cout<<"\n Customer Checked-in Successfully getch(); } } //hotel management shows available rooms void HotelMgnt::getAvailRoom() { int ifound=0; for(i=0;i>days; billAmount=days * rooms{i).rent; cout<<"\n\tiHHiHt## CheckOut Details #HHHH##\n! cout<<"\nCustomer Name : "<>opt; //switch statement switch(opt) { case 1 cout<<"\nEnter Room Number: "; cin>>mo; i=0; for(i=0;i>mo; room.searchRoom(rno); break; case 3; /inothing to do break; default: cout<<"\nPlease Enter correct option"; break; } }while(opt!=3); } int main() { class HotelMgnt hm; int ij,opt,mo; char ch; char pnamef 100); clrser(); do { clrscr(); cout<<"sHHHHHH Hotel Management ###HHHHH\n"; cout<<"\n1. Manage Room: cout<<"\n2. Check-In Room"; cout<<"\n3. Available Rooms"; cout<<"\n4. Search Customer"; cout<<"\n5. Check-Out Room"; cout<<"\n6. Guest Summary Report"; cout<<"\n7. Exit"; cout<<"\n\nEnter Option: cin>>opt; switch(opt) { case 1 manageRooms(); break; case 2: if(count { cout<<"\nRooms data is not available.\nPlease add the rooms first."; getchQ; } else hm.checkIn(); break; cout<<"\nRooms data is not available.\nPlease add the rooms first."; getch(); } else hm.getAvailRoom(); break; case 4: if(count—=0) { cout<<"\nRooms are not available.\nPlease add the rooms first getch(); cout<<"Enter Customer Name: "; cin>>pname; hm.searchCustomer(pname); } break; case 5: if(count==0) cout<<"\nRooms are not available.\nPlease add the rooms first."; getch(); cout<<"Enter Room Number : cin>>rno; hm.checkOut(ro); } break; case 6: hm. guestSummaryReport(); break; THANK YOU! FOR USING SOFTWARE"; cout<<"\nPlease Enter correct option"; break; } }while(opt!=7); getch(); } OUTPUT CO eae recy Sy Peo Dom aC) Lo ee peed Pe . Back to Main Menu ee Cece ed Tea ee) Set) PreomeZs) a eae) Pe eee Cy rey pas See To seed oe etd Room Detail OEE Ted Cee) erence is ete 1500_ PTE Search Customer eae eet rr as ae e tay Se oe ee ae rar Ee et cee ee ea ese Toc) Enter Address (only city): DELHI ee eR) ae Cee st) CEC eT asc) eee [oe ee oe ee STEAD ETT Co easy Available Rooms eter oes nae) Set na at ee aE) oo 101 Teen ney Tope) ree) ee rey CC oes so ee erence re Pers otros eae rey este tid art eC inter Customer Name: KANHALYA Tee et) Peta eae funuusay Hotel Panagement auananEne Pe ieee oe ry Perna ee Motta Core meni ae rt eae rs mans ee eee ee mec Enter Number of Days: 2 ST eee eee CoC Ly Te 162 Dan Creer eyes ae eC re ee oy SMC Coan Manage Rooms (es ae) Reverse Serre eters eee ny ree aetna rn a en SCE eee reer td Dea) eee eee Address (only city) : DELHI Pee rit REQUIREMENTS SOFTWARE AND HARDWARE REQUIREMENTS Software Requirements : ¢ TURBO C++ e MS DOS ¢ WINDOWS XP ¢ MICROSOFT OFFICE ACCESS 2003 Hardware Requirements: ¢ CPU — Intel Core 2 Duo E7300 © RAM — 1 GB (MIN) ¢ Hard disk — 160 GB © Operating System — Windows XP with Service Pack 3 (CHT) BIBLIOGRAPHY Following were source for my project . Computer Science C++ By Preeti Arora ,Sumita Arora www.google.com www.Wikipedia.com www.cbseportal.com

You might also like