/**
 * This function takes in a list of numbers and a threshold value,
 * and returns the count of numbers greater than the threshold.
 *
 * Complete the missing parts of the code in order to solve the exercise.
 */
fun countGreaterThan(numbers: List<Int>, value: Int): Int {

    var count = 0

    // Use a for loop to iterate through each number in the list
    for (number in numbers) {
        // Check if the current number is greater than the threshold value
        if (number > value) {
            // Increase the count variable by 1
            count++
        }

        // Use a break statement to exit the loop if the count reaches a certain value
        if (count > 5) {
            break
        }

        // Use a continue statement to skip the rest of the loop when a certain condition is met
        if (number % 2 != 0) {
            continue
        }
        // Increase the count variable by 1
        count++
    }

    return count
}
/**
 * This function takes in a list of numbers and a threshold value,
 * and returns the count of numbers greater than the threshold.
 *
 * Complete the missing parts of the code in order to solve the exercise.
 */
fun countGreaterThan(numbers: List<Int>, value: Int): Int {
/**
 * This function takes in a list of numbers and a threshold value,
 * and returns the count of numbers greater than the threshold.
 *
 * Complete the missing parts of the code in order to solve the exercise.
 */
fun countGreaterThan(numbers: List<Int>, value: Int): Int {

    var count = 0

    // Use a for loop to iterate through each number in the list
    for (number in numbers) {
        // Check if the current number is greater than the threshold value
        if (number > value) {
            // Increase the count variable by 1
            count++
        }

        // Use a break statement to exit the loop if the count reaches a certain value
        if (count > 5) {
            break
        }

        // Use a continue statement to skip the rest of the loop when a certain condition is met
        if (number % 2 != 0) {
            continue
        }
        // Increase the count variable by 1
        count++
    }

    return count
}