/**
 * This function calculates the available area in a room after placing a rectangular furniture 
 * by using the XOR operator and addition on length and width values.
 *
 * @param roomLength The length of the room in meters.
 * @param roomWidth The width of the room in meters.
 * @param furnitureLength The length of the furniture in meters.
 * @param furnitureWidth The width of the furniture in meters.
 * @return The remaining area in the room after placing the furniture.
 */
fun xorAdditionInteriorDesigner(roomLength: Float, roomWidth: Float, furnitureLength: Float, furnitureWidth: Float): Float {

    // Calculate the remaining area
    val remainingArea = (roomLength.toInt() xor furnitureLength.toInt()) + (roomWidth.toInt() xor furnitureWidth.toInt())
    
    return remainingArea.toFloat()
}
/**
 * This function calculates the available area in a room after placing a rectangular furniture 
 * by using the XOR operator and addition on length and width values.
 *
 * @param roomLength The length of the room in meters.
 * @param roomWidth The width of the room in meters.
 * @param furnitureLength The length of the furniture in meters.
 * @param furnitureWidth The width of the furniture in meters.
 * @return The remaining area in the room after placing the furniture.
 */
fun xorAdditionInteriorDesigner(roomLength: Float, roomWidth: Float, furnitureLength: Float, furnitureWidth: Float): Float {
/**
 * This function calculates the available area in a room after placing a rectangular furniture 
 * by using the XOR operator and addition on length and width values.
 *
 * @param roomLength The length of the room in meters.
 * @param roomWidth The width of the room in meters.
 * @param furnitureLength The length of the furniture in meters.
 * @param furnitureWidth The width of the furniture in meters.
 * @return The remaining area in the room after placing the furniture.
 */
fun xorAdditionInteriorDesigner(roomLength: Float, roomWidth: Float, furnitureLength: Float, furnitureWidth: Float): Float {

    // Calculate the remaining area
    val remainingArea = (roomLength.toInt() xor furnitureLength.toInt()) + (roomWidth.toInt() xor furnitureWidth.toInt())
    
    return remainingArea.toFloat()
}