/**
 * This function calculates the total area of a room by multiplying the length and width provided in the tuple.
 *
 * @param roomDimensions A tuple containing the length and width of the room.
 * @return The calculated area of the room.
 */
fun calculateArea(roomDimensions: Pair<Int, Int>): Int {

    val (length, width) = roomDimensions

    // Calculate area using multiplication of length and width
    val area = length * width

    return area
}
/**
 * This function calculates the total area of a room by multiplying the length and width provided in the tuple.
 *
 * @param roomDimensions A tuple containing the length and width of the room.
 * @return The calculated area of the room.
 */
fun calculateArea(roomDimensions: Pair<Int, Int>): Int {
/**
 * This function calculates the total area of a room by multiplying the length and width provided in the tuple.
 *
 * @param roomDimensions A tuple containing the length and width of the room.
 * @return The calculated area of the room.
 */
fun calculateArea(roomDimensions: Pair<Int, Int>): Int {

    val (length, width) = roomDimensions

    // Calculate area using multiplication of length and width
    val area = length * width

    return area
}