Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A hotel is made up of at least two rooms. Each room has a bathroom: shower or bathtub. A hotel accommodates people. It can employ

A hotel is made up of at least two rooms. Each room has a bathroom: shower or bathtub. A hotel accommodates people. It can employ staff and must be headed by a director. We only know the first and last names of the employees, directors and occupants.Some people are children and others are adults (using children to work is prohibited). A hotel has the following characteristics: an address, a number of rooms and a category. A room is characterized by the number and beds it contains, its price and its number.We want to be able to know who is occupying which room on what date. For each day of the year, we want to be able to calculate the rent for each room based on its price and occupancy (the rent is zero if the room is unoccupied). The sum of these rents makes it possible to calculate the hotel's turnover between two dates.Question: Give a class diagram to model the hotel problem

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Essentials of Management

Authors: Andrew J. DuBrin

9th Edition

538478233, 2900538478235, 978-0538478236

More Books

Students also viewed these General Management questions

Question

QS 3 - 1 4 ( Algo ) Accuring salaries LO P 3

Answered: 1 week ago