/**
 * This function finds all numbers in a list that are less than a given limit and breaks out of the loop once it finds the first number greater than or equal to the limit.
 */
fun findLessThan(numbers: List<Int>, limit: Int) {

    for (number in numbers) {
        if (number < limit) {
            println(number)
        } else {
            println("Breaking out of the loop - Found a number that is greater than or equal to the limit")
            break
        }
    }
}
/**
 * This function finds all numbers in a list that are less than a given limit and breaks out of the loop once it finds the first number greater than or equal to the limit.
 */
fun findLessThan(numbers: List<Int>, limit: Int) {
/**
 * This function finds all numbers in a list that are less than a given limit and breaks out of the loop once it finds the first number greater than or equal to the limit.
 */
fun findLessThan(numbers: List<Int>, limit: Int) {

    for (number in numbers) {
        if (number < limit) {
            println(number)
        } else {
            println("Breaking out of the loop - Found a number that is greater than or equal to the limit")
            break
        }
    }
}