Computer Board Project 2017(icse)

January 25, 2018 | Author: Sayak | Category: Bed, Data Type, Air Conditioning, Computer Programming, Software Engineering
Share Embed Donate


Short Description

this is a project on hotel management system...

Description

COMPUTER APPLICATION PROJECT ICSE 2016 – 2017 HOTEL RESERVATION SYSTEM BY: -SAYAK DHARA CLASS: X (Unique ID-6449743)

1

ACKNOWLEDGEMENT This Project would not have been possible without the guidance and the help of several individuals who in one way or another contributed and extended their valuable assistance in the preparation and completion of this study. First and foremost, I express utmost gratitude to our computer Teacher whose inputs and encouragement has been my inspiration as I hurdle over the obstacles in the completion of this project work. I would specially like to thank our Lab-in charge/Teacher Sukanta Dasgupta for providing enough lab sessions to ensure proper editing and execution of the project program. I thank all the members of the family who always had a kind concern and consideration regarding all my project and academic requirements. Last but not the least, I thank my classmates for all the cooperation and resources they extended to me. I specially thank to our Principal Sir for his selfless interest in my project.

Name – Sayak Dhara Class - X

2

TABLE OF CONTENTS 1

Introduction

4

2

Program Statement

5

3

Program Listing

6-16

4

Sample Output

17-22

5

Variable

23

6

Conclusion

24

7

Bibliography

25

INTRODUCTION 3

This is to meet the Internal Assessment requirements of ICSE 2016-2017 Computer Applications paper. Apart from this, it is a great learning experience too. This project is a Java application which generates a menu for the user to choose from available Room types from the Hotel. I choose this topic because this gives a good acquaintance with the pattern and the standard of programming questions in the board exam. Some aspects covered in this project are:     

Menu Driven Program If-Else Statements Processing Strings Concluding program with a glossary Defining and calling functions

Apart from just theoretical scripting of a program, this project actually coerces us to edit, compile, debug and run our application. Many syntactical and practical program issues are implicitly understood while accomplishing the assignment.

PROGRAM STATEMENT 4

Create a Java application which generates a menu for the user to choose from the following options:Choice 1: Super Deluxe Room Choice 2: Deluxe Room Choice 3: Ac Room Choice 4: Non Ac Room

PROGRAM LISTING 5

import java.io.*; class HOTEL_RESERVATION_SYSTEM { public static void main(String args[]) throws IOException { BufferedReaderbr=new BufferedReader(new InputStreamReader(System.in)); System.out.println(); System.out.println(" ====================00000000000000=================== System.out.println(" System.out.println(" ");

");

:::: ROSE VALLEY INTERNATIONAL ::::

");

12/8/9 C AJC ROAD , KOLKATA , WEST BENGAL , INDIA

System.out.println(" ====================00000000000000===================

");

System.out.println(); System.out.println(" RVI is an experience that welcomes you to a new approach of Hospitality "); System.out.println(" Our elegancy and courteous service makes us the finest business hotel group."); System.out.println(" A 5-minute walk from a metro station, this upscale hotel is 2.3 km from the "); System.out.println(" Victoria Memorial & National Museum and 7 km from Science City of Kolkata. "); System.out.println(); System.out.println(" ====================********************===================

");

System.out.println(" Elegant rooms and suites feature wood floors, free Wi-Fi and flat-screen TVs, "); 6

System.out.println(" in addition to sitting areas, stocked minibars, and Italian marble bathrooms. "); System.out.println("

Suites add separate living rooms with coffee tables.

");

System.out.println(" ====================********************===================

");

System.out.println(); System.out.println(" ");

==================== ................... ==================

System.out.println("

! Mobile & Internet Booking is also available !

");

System.out.println(" ***For Mobile Booking Call +919854245865 From Your Mobile*** "); System.out.println("

PREMIUM RATES APPLY

");

System.out.println("

! For Internet Booking Visit :http://www.rvihotels.com !

");

System.out.println(" ");

==================== ................... ===================

System.out.println(); System.out.println("

RULES & REGULATIONS :::::>>>>>

");

System.out.println(" Check-out time should be inform to the reception if you wish to reatin. "); System.out.println(" Please present your ID proof at the time of reservation. "); System.out.println(" Bills must be settled either in Cash or Card , personal cheque will not be accepted. "); System.out.println(" Bills must be settled either in Cash or Card , personal cheque will not be accepted. "); System.out.println(); System.out.println(" Do you want to Book a Room in our Hotel ? \n 1. Yes 2. No "); System.out.print(" Enter Your Choice : "); int choice=Integer.parseInt(br.readLine()); if(choice==1) 7

{ System.out.println(); System.out.println(" FILL UP THE REGISTRATION FORM GIVEN BELOW :"); System.out.println(" ^^^^^^^ ******************** ^^^^^^^^^ "); System.out.print(" Full Name : "); String name=br.readLine(); System.out.print(" Mobile Number : "); longmb=Long.parseLong(br.readLine()); System.out.print(" Check-in Date : "); String chkin=br.readLine(); System.out.print(" No. of Days you want to stay : "); int days=Integer.parseInt(br.readLine()); System.out.print(" No. of Children Boarders (Below 18 years of age) : "); int child=Integer.parseInt(br.readLine()); System.out.print(" No. of Adult Boarders (Above 18 years of age) : "); int adults=Integer.parseInt(br.readLine()); System.out.print(" No. of Rooms Required : "); int rooms=Integer.parseInt(br.readLine()); System.out.println(" THANK YOU!!!!"); System.out.println(); System.out.println(" Types Of Rooms Available : \n =============================="); System.out.println("



System.out.println(" 1. Super Deluxe. (Rs.4500 per night)"); System.out.println(" The Facilities are :> "); System.out.println(" * Double bed with a comfortable mattress."); System.out.println(" * Air conditioning with Two Split AC."); 8

");

System.out.println(" * A large sofa, centre table, One bed table beside bed."); System.out.println(" * Refrigerator , Microwaven ."); System.out.println(" * 50 inch Led TV."); System.out.println("

-------------------------

");

System.out.println("

-------------------------

");

System.out.println(" 2. Deluxe Room. (Rs.3800 per night)"); System.out.println(" The Facilities are :> "); System.out.println(" - Double bed with soft, comfortable mattress."); System.out.println(" - Air Conditioning with One Split AC."); System.out.println(" - A large sofa , One bed table beside bed."); System.out.println(" - 42 inch Led TV."); System.out.println("

-------------------------

");

System.out.println("

-------------------------

");

System.out.println(" 3. AC Room. (Rs.3000 per night)"); System.out.println(" Double bed with a super soft comfortable mattress."); System.out.println(" > Air Conditioning with Two Split ACs."); System.out.println(" > Electronic Safe."); System.out.println(" > A large sofa set, centre table."); System.out.println(" > 30 inch Led TV."); System.out.println("

-------------------------

");

System.out.println("

-------------------------

");

System.out.println(" 4.Non-AC. (1900 per night)"); System.out.println(" The Facilities are :"); System.out.println(" > Choice of single or double bed with a soft mattress."); System.out.println(" > A sofa set , One bed table beside bed."); System.out.println(" > 24 inch Lcd TV."); System.out.println();

9

System.out.print(" Please enter your choice: ..............." ); intrm=Integer.parseInt(br.readLine()); if(rm==1) { System.out.println(" You have selected Super Deluxe."); longamt=2800*days*adults*rooms+(2800*days*child*rooms)/2; System.out.println(); System.out.println(" Generating The BILL"); System.out.println(" Please Wait ..................."); for(long j=0;j
View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF