Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Purpose: Using the object-oriented approach in C#, develop a menu-driven GUI based Hotel Reservation System. The system should be able to provide the following: Accept



Purpose:

Using the object-oriented approach in C#, develop a menu-driven GUI based Hotel Reservation System. The system should be able to provide the following:

  • Accept hotel reservation related information.
  • Display a booking confirmation based on the hotel reservation details.


Outcomes:

  1. Apply the object-oriented programming techniques of C#.
  2. Write decision-making statements and control structures to solve problems.
  3. Create user-friendly GUI and apply event-handling techniques of C#.
  4. Explore best practices for designing and developing applications.


Problem statement:

A hospitality company has acquired a new hotel. It would like you to design the logo and develop the Hotel Reservation System.


The hotel has a hotel name, and address.


Every guest is identified by the first name, last name, age, and phone number.

In addition to the regular guests, the hospitality company has loyalty guests. This guest is identified by the membership number and collects rewards points.


Dates for check-in and check-out are also required.


The hotel booking details must contain the hotel details, dates of guest accommodation, loyalty guest details, number of rooms, number of guests.

It should calculate the total amount payable for the accommodation and taxes.


Once all the information has been entered, the system should print a well-formatted reservation confirmation (on the screen itself), indicating the following:

- Hotel name

- Hotel address

- Dates of hotel reservation

- Guest's first name and last name

- Guest's age

- Loyalty member number

- Total Rewards Points

- Total Amount Payable for this reservation



Add an extra feature to enhance the functionality of your application.







Important guidelines:


- Use Visual Studio Community 2019 as the integrated development environment.

- The project name must begin have the pattern as 2129_S23Assign_.

  • Use appropriate comment entries to signify your course code, student ID, last name and first name at the beginning of each program.
  • All user-defined class names must use the format as _.


- Object-oriented techniques must be used to enhance the functionality of your system i.e. classes, constructors, methods, inheritance, composition/polymorphism.

- The hotel room charge could be treated as a fixed value.


  • Apply exception-handling techniques of C# wherever required.
  • Appropriate validations must be done, anderror messages should be provided.
  • Ensure that the interface/s generated by your program are user-friendly and give a professional look. The system must be a GUI.
    1. 1) You must compress (zip) your complete Visual Studio solution (i.e. entire project folder) and upload it to D2L Brightspace.


-Your system must be supported by a UML class diagram representation.


-Be cautious not to share your application with others.

- If 2 or more assignment submissions are the same (or very much alike) they will all get 0 marks.



All submissions should at least compile including non-working submissions.


Submission Guidelines for UPLOAD to D2L Brightspace:

Required for submission as 2 separate files (do not add the word document to the zip file):

AND

  1. 2) This Microsoft Word document should include:
    1. a. The full name and student number.
      1. b. The complete code solution pasted into it.


Evaluation guidelines:

OOPs concepts 20 marks
GUI design concepts - Windows Form and controls 20 marks
Code, Validations and Functionality 40 marks
Extra feature 10 marks
UML diagram 10 marks


Please note:

Students are recommended to keep a backup of the same version of your submission (with valid date and time stamp) that has been submitted.


No Late submissions will be accepted. Exceptions, if any, may be made at the discretion of the professor.

LastName: _______________ FirstName: ____________ Student id: ________


Paste your complete code for your main program (and any other classes) after this line:



Step by Step Solution

There are 3 Steps involved in it

Step: 1

Class representing the hotel class Hotel public string Name get set public string Address get ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Quantitative Methods For Business

Authors: David Anderson, Dennis Sweeney, Thomas Williams, Jeffrey Cam

12th Edition

840062338, 840062346, 9780840062338, 978-0840062345

More Books

Students also viewed these Programming questions

Question

Eliminate street slang.

Answered: 1 week ago