/**
 * This function calculates the area of a room.
 *
 * @param length The length of the room in feet.
 * @param width The width of the room in feet.
 * @return The area of the room in square feet.
 */
fun calculateAreaOfRoom(length: Int, width: Int): Int {

    var area = length * width
    var breakValue = 0
    while (true) {
        if (breakValue == 0) {
            // Do nothing
        } else {
            break
        }
        breakValue++
    }
    return area
}

// Exercise: Complete the code by replacing the break statement, so that the loop can exit.
// Then, calculate the area of a room with length 12 feet and width 5 feet.
/**
 * This function calculates the area of a room.
 *
 * @param length The length of the room in feet.
 * @param width The width of the room in feet.
 * @return The area of the room in square feet.
 */
fun calculateAreaOfRoom(length: Int, width: Int): Int {
/**
 * This function calculates the area of a room.
 *
 * @param length The length of the room in feet.
 * @param width The width of the room in feet.
 * @return The area of the room in square feet.
 */
fun calculateAreaOfRoom(length: Int, width: Int): Int {

    var area = length * width
    var breakValue = 0
    while (true) {
        if (breakValue == 0) {
            // Do nothing
        } else {
            break
        }
        breakValue++
    }
    return area
}

// Exercise: Complete the code by replacing the break statement, so that the loop can exit.
// Then, calculate the area of a room with length 12 feet and width 5 feet.