/**
 * Write a function that calculates the sum of integers between the start and end (inclusive).
 *
 * @param start the starting integer of the range
 * @param end the ending integer of the range
 * @return the sum of integers between start and end
 */
fun calculateSum(start: Int, end: Int): Int {

    var result = 0
    for (num in start..end) {
        result += num
    }
    return result
}
/**
 * Write a function that calculates the sum of integers between the start and end (inclusive).
 *
 * @param start the starting integer of the range
 * @param end the ending integer of the range
 * @return the sum of integers between start and end
 */
fun calculateSum(start: Int, end: Int): Int {
/**
 * Write a function that calculates the sum of integers between the start and end (inclusive).
 *
 * @param start the starting integer of the range
 * @param end the ending integer of the range
 * @return the sum of integers between start and end
 */
fun calculateSum(start: Int, end: Int): Int {

    var result = 0
    for (num in start..end) {
        result += num
    }
    return result
}