Using Java programming language write a program to manage a hotel with 24 rooms; 10 rooms are Executive, with price Gh ₵ 2500.00 per night, 7 rooms are Chalets, with amounts Gh ₵ 1500.00 per night 7 rooms are Ordinary, with amount Gh ₵ 500.00 per night The program should allow customers to book for rooms for a number of nights, and update the number of empty rooms available for each category when a customer has paid fully and has checked-in; also update the number of empty rooms available when customer checks-out. Customers should make bookings with their first names, telephone number A customer should be prompted to know if a room is booked (meaning a another customer has booked it but has not paid fully, or has not checked-in) A customer should be prompted to know if a room is occupied (meaning a booked room has been fully paid for, or the customer has checked-in) A customer should be prompted to know if a room is available (meaning a room has neither been booked nor checked-in).
Using Java programming language write a program to manage a hotel with 24 rooms;
10 rooms are Executive, with price Gh ₵ 2500.00 per night,
7 rooms are Chalets, with amounts Gh ₵ 1500.00 per night
7 rooms are Ordinary, with amount Gh ₵ 500.00 per night
The program should allow customers to book for rooms for a number of nights, and update the number of empty rooms available for each category when a customer has paid fully and has checked-in; also update the number of empty rooms available when customer checks-out.
Customers should make bookings with their first names, telephone number
A customer should be prompted to know if a room is booked (meaning a another customer has booked it but has not paid fully, or has not checked-in)
A customer should be prompted to know if a room is occupied (meaning a booked room has been fully paid for, or the customer has checked-in)
A customer should be prompted to know if a room is available (meaning a room has neither been booked nor checked-in).
A customer should be able to know if an available room from any of the three categories is disability friendly (please note; disability friendly rooms are 10% less the amount for each category).
A customer should be able to know if there are no available rooms in a particular category
Only available rooms can be booked, and only booked rooms can be checked-in, and only checked-in rooms can be checked-out.
A customer should know the total amount to pay per the number of nights booked for.
When a customer cancels a booking, the number of available rooms for the particular category should be updated.
The hotel manager should be able to print a receipt with the customer registered details, including the amount paid, room number and category of room, and whether it is disability friendly or not (choose any form of room numbering for each of the categories, but each category should have different numbering system).
Trending now
This is a popular solution!
Step by step
Solved in 2 steps