/**
 * This function takes in a list of numbers and a threshold value, and returns the count of numbers in the list
 * that are greater than or equal to the threshold.
 *
 * Example:
 * numbers = [10, 5, 15, 8, 20]
 * threshold = 10
 *
 * countGreaterOrEqual(numbers, threshold)
 * Output: 3
 */
fun countGreaterOrEqual(numbers: List<Int>, threshold: Int): Int {

    var count = 0
    for (num in numbers) {
        if (num >= threshold) {
            count++
        }
    }
    return count
}
/**
 * This function takes in a list of numbers and a threshold value, and returns the count of numbers in the list
 * that are greater than or equal to the threshold.
 *
 * Example:
 * numbers = [10, 5, 15, 8, 20]
 * threshold = 10
 *
 * countGreaterOrEqual(numbers, threshold)
 * Output: 3
 */
fun countGreaterOrEqual(numbers: List<Int>, threshold: Int): Int {
/**
 * This function takes in a list of numbers and a threshold value, and returns the count of numbers in the list
 * that are greater than or equal to the threshold.
 *
 * Example:
 * numbers = [10, 5, 15, 8, 20]
 * threshold = 10
 *
 * countGreaterOrEqual(numbers, threshold)
 * Output: 3
 */
fun countGreaterOrEqual(numbers: List<Int>, threshold: Int): Int {

    var count = 0
    for (num in numbers) {
        if (num >= threshold) {
            count++
        }
    }
    return count
}