/**
 * As an anthropologist, you are studying the occurrences of even numbers in a certain range.
 * Your task is to write a function that takes a start and end value as arguments and prints all
 * the even numbers within that range, including the start and end values if they are even.
 *
 * In this exercise, you will need to make use of the range() function to iterate over the given
 * range and check if each number is even.
 *
 * @param start The start value of the range (inclusive).
 * @param end The end value of the range (inclusive).
 */
fun printEvenNumbers(start: Int, end: Int) {

    for (num in start..end) {
        if (num % 2 == 0) {
            println(num)
        }
    }
}
/**
 * As an anthropologist, you are studying the occurrences of even numbers in a certain range.
 * Your task is to write a function that takes a start and end value as arguments and prints all
 * the even numbers within that range, including the start and end values if they are even.
 *
 * In this exercise, you will need to make use of the range() function to iterate over the given
 * range and check if each number is even.
 *
 * @param start The start value of the range (inclusive).
 * @param end The end value of the range (inclusive).
 */
fun printEvenNumbers(start: Int, end: Int) {
/**
 * As an anthropologist, you are studying the occurrences of even numbers in a certain range.
 * Your task is to write a function that takes a start and end value as arguments and prints all
 * the even numbers within that range, including the start and end values if they are even.
 *
 * In this exercise, you will need to make use of the range() function to iterate over the given
 * range and check if each number is even.
 *
 * @param start The start value of the range (inclusive).
 * @param end The end value of the range (inclusive).
 */
fun printEvenNumbers(start: Int, end: Int) {

    for (num in start..end) {
        if (num % 2 == 0) {
            println(num)
        }
    }
}