/**
 * This function receives a map representing the rooms in a house and returns the name of the largest room.
 *
 * @param rooms A map where the keys represent the names of the rooms and the values are the areas of each room in square meters.
 * @return The name of the largest room.
 */
fun findLargestRoom(rooms: Map<String, Int>): String {

    var largestArea = 0
    var largestRoomName = ""
    for ((room, area) in rooms) {
        if (area > largestArea) {
            largestArea = area
            largestRoomName = room
        }
    }
    return largestRoomName
}
/**
 * This function receives a map representing the rooms in a house and returns the name of the largest room.
 *
 * @param rooms A map where the keys represent the names of the rooms and the values are the areas of each room in square meters.
 * @return The name of the largest room.
 */
fun findLargestRoom(rooms: Map<String, Int>): String {
/**
 * This function receives a map representing the rooms in a house and returns the name of the largest room.
 *
 * @param rooms A map where the keys represent the names of the rooms and the values are the areas of each room in square meters.
 * @return The name of the largest room.
 */
fun findLargestRoom(rooms: Map<String, Int>): String {

    var largestArea = 0
    var largestRoomName = ""
    for ((room, area) in rooms) {
        if (area > largestArea) {
            largestArea = area
            largestRoomName = room
        }
    }
    return largestRoomName
}