A.Problem: Assume that you have been asked to develop a java application for Musandam Resort to help the administrator manage the resort reservations. There are two types of units available for reservation: conference hall, and room unit. Each reservation has the following information: • Reservation ID, starts with 0 and auto-increments by 1 at each creation of a new reservation. • Number of nights. Night price, and rate. Each reservation has specific features • Reservation of type room comes with a set of maximum 3 requirements requested by the user like (coffee machine, TV, internet, etc.). These requirements are specified at the time of reservation. • Conference hall reservation should be done with a certain number of guests knowing that the cost of service per guest equals to 15 per night. B.What is required? The program should display a menu for the administrator to choose any of the following services (see the sample runs): • Adding a reservation: The administrator asks the customer about the type of the reservation (conference, or room unit). Then he/she should perform the booking. The program will then display information about the reservation together with the total cost. Cost per night for a room unit or conference hall should be read from a file called bookingInfo which holds the pricing information for each unit type and then calculate total cost according to the rate and number of nights (look at section C). • The administrator can also check for the existence of a specific reservation through its reservation ID and display the details of existing ones. • The administrator can also cancel any reservation through its reservation ID. The administrator may display all available reservations with their total costs. Once the administrator chooses to exit the application, the program should stop.
A.Problem: Assume that you have been asked to develop a java application for Musandam Resort to help the administrator manage the resort reservations. There are two types of units available for reservation: conference hall, and room unit. Each reservation has the following information: • Reservation ID, starts with 0 and auto-increments by 1 at each creation of a new reservation. • Number of nights. Night price, and rate. Each reservation has specific features • Reservation of type room comes with a set of maximum 3 requirements requested by the user like (coffee machine, TV, internet, etc.). These requirements are specified at the time of reservation. • Conference hall reservation should be done with a certain number of guests knowing that the cost of service per guest equals to 15 per night. B.What is required? The program should display a menu for the administrator to choose any of the following services (see the sample runs): • Adding a reservation: The administrator asks the customer about the type of the reservation (conference, or room unit). Then he/she should perform the booking. The program will then display information about the reservation together with the total cost. Cost per night for a room unit or conference hall should be read from a file called bookingInfo which holds the pricing information for each unit type and then calculate total cost according to the rate and number of nights (look at section C). • The administrator can also check for the existence of a specific reservation through its reservation ID and display the details of existing ones. • The administrator can also cancel any reservation through its reservation ID. The administrator may display all available reservations with their total costs. Once the administrator chooses to exit the application, the program should stop.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Please solve it in java.
also, I will upload part c and d , please check and solve them
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 6 steps with 1 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY