/**
 * This function multiplies all the integers within a given range.
 */
fun multiplyRange(start: Int, end: Int): Int {

    if (start > end) {
        return 1
    }

    var totalProduct = 1
    for (num in start..end) {
        totalProduct *= num
    }

    return totalProduct
}
/**
 * This function multiplies all the integers within a given range.
 */
fun multiplyRange(start: Int, end: Int): Int {
/**
 * This function multiplies all the integers within a given range.
 */
fun multiplyRange(start: Int, end: Int): Int {

    if (start > end) {
        return 1
    }

    var totalProduct = 1
    for (num in start..end) {
        totalProduct *= num
    }

    return totalProduct
}