/**
 * This function takes in two integers (dividend and divisor) and returns a list of numbers that are divisible by the divisor within the given range.
 */
fun getDivisibleNumbers(dividend: Int, divisor: Int): List<Int> {

    val divisibleNumbers = mutableListOf<Int>()
    var num = dividend

    while (num % divisor == 0) {
        divisibleNumbers.add(num)
        num += divisor
    }

    return divisibleNumbers
}
/**
 * This function takes in two integers (dividend and divisor) and returns a list of numbers that are divisible by the divisor within the given range.
 */
fun getDivisibleNumbers(dividend: Int, divisor: Int): List<Int> {
/**
 * This function takes in two integers (dividend and divisor) and returns a list of numbers that are divisible by the divisor within the given range.
 */
fun getDivisibleNumbers(dividend: Int, divisor: Int): List<Int> {

    val divisibleNumbers = mutableListOf<Int>()
    var num = dividend

    while (num % divisor == 0) {
        divisibleNumbers.add(num)
        num += divisor
    }

    return divisibleNumbers
}