Optimize the Hotel Profit by Applying enforcement on CheckIn - CheckOut and Minimum and Maximum number of Days of stay of person before conforming booking of Hotel room
for further detailed requirement click the below link https://github.com/skylabspune/Hotel_ProfitOptimization/blob/master/Requirement.pdf
- Checkin day is Inputed by user,
- Enter the RooomId for Room You want to Boook (User Must Refer Room Id By Only After Using Option 1 and List of Rooms and their status is Been Displayed along with CheckIn Date as NULL and Checkout Date as Null for rooms Avilable) the running code list all possible checkout dates satisfying all the constraints as per requirement.
- Enter any one Checkout date from the displayed List.
Note: No need to add any Dependency or Library.
Feel free to open an issue or Pull request
- Nikhil wayal [email protected]
Version 1.1, December 2016
Copyright (C) [ 2017 ] [ Nikhil Wayal ]
Everyone is permitted to copy and distribute verbatim or modified copies of this license document.
DON'T BE A Jerk PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
Do whatever you like with the original work, just don't be a Jerk.
Being a Jerkincludes - but is not limited to - the following instances:
1a. Outright copyright infringement - Don't just copy this and change the name.
1b. Submitting the unmodified original with no work done for hiring purpose or what-so-ever,that's REALLY being a Jerk.
1c. Modifying the original work to contain hidden harmful content.That would make you a PROPER Jerk. -
If you become rich through modifications, related works/services, or supporting the original work, share the love. Only a Jerkwould make loads off this work and not buy the original work's creator(s) a pint.
-
Code is provided with no warranty. Using somebody else's code and bitching when it goes wrong makes you a DONKEY Jerk. Fix the problem yourself. A non-Jerk would submit the fix back or submit a bug report
Credits :- Inspired from DBAD Licence.