/**
 * Given a range of integers from start to end (inclusive), count the number of integers that are divisible by the given divisor.
 *
 * @param start The starting integer of the range.
 * @param end The ending integer of the range.
 * @param divisor The number by which the integers are divisible.
 * @return The count of integers that are divisible by the given divisor.
 */
fun countMultiples(start: Int, end: Int, divisor: Int): Int {

    var count = 0
    for (num in start..end) {
        if (num % divisor == 0) {
            count++
        }
    }
    return count
}
/**
 * Given a range of integers from start to end (inclusive), count the number of integers that are divisible by the given divisor.
 *
 * @param start The starting integer of the range.
 * @param end The ending integer of the range.
 * @param divisor The number by which the integers are divisible.
 * @return The count of integers that are divisible by the given divisor.
 */
fun countMultiples(start: Int, end: Int, divisor: Int): Int {
/**
 * Given a range of integers from start to end (inclusive), count the number of integers that are divisible by the given divisor.
 *
 * @param start The starting integer of the range.
 * @param end The ending integer of the range.
 * @param divisor The number by which the integers are divisible.
 * @return The count of integers that are divisible by the given divisor.
 */
fun countMultiples(start: Int, end: Int, divisor: Int): Int {

    var count = 0
    for (num in start..end) {
        if (num % divisor == 0) {
            count++
        }
    }
    return count
}