/**
 * This function calculates the amount of paint needed to paint the walls of a room
 */
fun calculateWallPaint(length: Int, width: Int): String {

    return when {
        length <= 0 || width <= 0 -> "Invalid input. Length and width must be greater than 0."
        length == width -> "The room is a square."
        else -> "The room is a rectangle."
    }
}
/**
 * This function calculates the amount of paint needed to paint the walls of a room
 */
fun calculateWallPaint(length: Int, width: Int): String {
/**
 * This function calculates the amount of paint needed to paint the walls of a room
 */
fun calculateWallPaint(length: Int, width: Int): String {

    return when {
        length <= 0 || width <= 0 -> "Invalid input. Length and width must be greater than 0."
        length == width -> "The room is a square."
        else -> "The room is a rectangle."
    }
}