/**
 * The exercise is to find all numbers within a given range that are greater than a target value.
 *
 * @param rangeStart the lower bound of the range (inclusive)
 * @param rangeEnd the upper bound of the range (exclusive)
 * @param targetValue the target value to compare against
 * @return A list of numbers greater than the target value within the given range.
 */
fun findNumbersGreaterThan(rangeStart: Int, rangeEnd: Int, targetValue: Int): List<Int> {

    val numbers = mutableListOf<Int>()

    // Iterate over the range from start to end
    for (num in rangeStart until rangeEnd) {
        if (num > targetValue) {  // Check if the number is greater than the target value
            numbers.add(num)  // Add the number to the list if it satisfies the condition
        }
    }

    return numbers
}
/**
 * The exercise is to find all numbers within a given range that are greater than a target value.
 *
 * @param rangeStart the lower bound of the range (inclusive)
 * @param rangeEnd the upper bound of the range (exclusive)
 * @param targetValue the target value to compare against
 * @return A list of numbers greater than the target value within the given range.
 */
fun findNumbersGreaterThan(rangeStart: Int, rangeEnd: Int, targetValue: Int): List<Int> {
/**
 * The exercise is to find all numbers within a given range that are greater than a target value.
 *
 * @param rangeStart the lower bound of the range (inclusive)
 * @param rangeEnd the upper bound of the range (exclusive)
 * @param targetValue the target value to compare against
 * @return A list of numbers greater than the target value within the given range.
 */
fun findNumbersGreaterThan(rangeStart: Int, rangeEnd: Int, targetValue: Int): List<Int> {

    val numbers = mutableListOf<Int>()

    // Iterate over the range from start to end
    for (num in rangeStart until rangeEnd) {
        if (num > targetValue) {  // Check if the number is greater than the target value
            numbers.add(num)  // Add the number to the list if it satisfies the condition
        }
    }

    return numbers
}