/**
 * Calculate the sum of all even numbers between the given start and end values (inclusive).
 *
 * @param start The starting value.
 * @param end The ending value.
 * @return The sum of all even numbers between start and end.
 */
fun sumOfEvenNumbers(start: Int, end: Int): Int {

    var sumEven = 0
    for (num in start..end) {
        if (num % 2 == 0) {
            sumEven += num
        }
    }
    return sumEven
}
/**
 * Calculate the sum of all even numbers between the given start and end values (inclusive).
 *
 * @param start The starting value.
 * @param end The ending value.
 * @return The sum of all even numbers between start and end.
 */
fun sumOfEvenNumbers(start: Int, end: Int): Int {
/**
 * Calculate the sum of all even numbers between the given start and end values (inclusive).
 *
 * @param start The starting value.
 * @param end The ending value.
 * @return The sum of all even numbers between start and end.
 */
fun sumOfEvenNumbers(start: Int, end: Int): Int {

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