/**
 * Calculate the sum of all even numbers between the start and stop parameters.
 *
 * @param start The starting point of the range (inclusive).
 * @param stop The ending point of the range (exclusive).
 * @return The sum of all even numbers within the range.
 */
fun sumOfEvenNumbers(start: Int, stop: Int): Int {

    var sumOfEvens = 0

    for (num in start until stop) {
        if (num % 2 == 0) {
            sumOfEvens += num
        }
    }

    return sumOfEvens
}
/**
 * Calculate the sum of all even numbers between the start and stop parameters.
 *
 * @param start The starting point of the range (inclusive).
 * @param stop The ending point of the range (exclusive).
 * @return The sum of all even numbers within the range.
 */
fun sumOfEvenNumbers(start: Int, stop: Int): Int {
/**
 * Calculate the sum of all even numbers between the start and stop parameters.
 *
 * @param start The starting point of the range (inclusive).
 * @param stop The ending point of the range (exclusive).
 * @return The sum of all even numbers within the range.
 */
fun sumOfEvenNumbers(start: Int, stop: Int): Int {

    var sumOfEvens = 0

    for (num in start until stop) {
        if (num % 2 == 0) {
            sumOfEvens += num
        }
    }

    return sumOfEvens
}