/**
 * This function takes the starting and ending number of a range and returns the numbers from that range
 * which are divisible by both 3 and 5 using a while loop.
 *
 * @param start Starting number of the range
 * @param end Ending number of the range
 * @return Numbers from the range that are divisible by both 3 and 5
 */
fun findSpecificRange(start: Int, end: Int): List<Int> {

    val result = mutableListOf<Int>()
    var number = start

    while (number <= end) {
        if (number % 3 == 0 && number % 5 == 0) {
            result.add(number)
        }
        number++
    }

    return result
}
/**
 * This function takes the starting and ending number of a range and returns the numbers from that range
 * which are divisible by both 3 and 5 using a while loop.
 *
 * @param start Starting number of the range
 * @param end Ending number of the range
 * @return Numbers from the range that are divisible by both 3 and 5
 */
fun findSpecificRange(start: Int, end: Int): List<Int> {
/**
 * This function takes the starting and ending number of a range and returns the numbers from that range
 * which are divisible by both 3 and 5 using a while loop.
 *
 * @param start Starting number of the range
 * @param end Ending number of the range
 * @return Numbers from the range that are divisible by both 3 and 5
 */
fun findSpecificRange(start: Int, end: Int): List<Int> {

    val result = mutableListOf<Int>()
    var number = start

    while (number <= end) {
        if (number % 3 == 0 && number % 5 == 0) {
            result.add(number)
        }
        number++
    }

    return result
}