Write a program in Java language to manage a hotel with 25 rooms, 10 rooms are executive, with price 2500 Gh cedis, 7 rooms are charlet, with amount 1500 Gh cedis, 7 rooms are normal, with amount 500 Gh cedis, The program should allow customers to book rooms for a number of nights and update the number of empty rooms available for each category when a customer has fully paid and has checked- in, also update the number of empty rooms when the customer has checks-out Customers should make bookings with their first name and telephone number A customer should be prompted to know if a room has been booked ( meaning another customer has booked it but not fully paid or not checked-in ) A customer should be prompted to know if a room has been occupied ( meaning another customer has fully paid or checked-in) A customer should be prompted to know if a room is available ( meaning the room is 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 room means 10% less the amount of each category) A custumer should know if there no available rooms in a particular category , only available rooms can be booked and only booked rooms can be checked in and only check-in rooms can be checked out A customer should know the total amount to pay per the number of nights booked for. When customer cancels booking, the number of available rooms for the particular category should be updated The hotel manager should be able to print receipts with the customer registered details, including the amount paid, room number and and category of room and whether it is disability friendly or not ( choose any form of room numbering for each category, but each category should have a different numbering system)
Write a program in Java language to manage a hotel with 25 rooms,
10 rooms are executive, with price 2500 Gh cedis,
7 rooms are charlet, with amount 1500 Gh cedis,
7 rooms are normal, with amount 500 Gh cedis,
The program should allow customers to book rooms for a number of nights and update the number of empty rooms available for each category when a customer has fully paid and has checked- in, also update the number of empty rooms when the customer has checks-out
Customers should make bookings with their first name and telephone number
A customer should be prompted to know if a room has been booked ( meaning another customer has booked it but not fully paid or not checked-in )
A customer should be prompted to know if a room has been occupied ( meaning another customer has fully paid or checked-in)
A customer should be prompted to know if a room is available ( meaning the room is 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 room means 10% less the amount of each category)
A custumer should know if there no available rooms in a particular category , only available rooms can be booked and only booked rooms can be checked in and only check-in rooms can be checked out
A customer should know the total amount to pay per the number of nights booked for. When customer cancels booking, the number of available rooms for the particular category should be updated
The hotel manager should be able to print receipts with the customer registered details, including the amount paid, room number and and category of room and whether it is disability friendly or not ( choose any form of room numbering for each category, but each category should have a different numbering system)
Step by step
Solved in 2 steps