This is a website for booking hotel room
the code required is
1. for a given set of dates (arrival - departure) calculate the number of rooms available during the period (ie. the minimum number of available rooms in the period)
2. get the number of each type of room already selected ( this is already present, but must be extracted into a method)
3. Mark each room type in the room type selector as unavailable by adding/removing a class.
4. Short circuit the select room function if the room is unavailable (if this has class unavailable return false ...)