/**
 * This exercise tests your knowledge of while loops and the AND operator.
 * Fill in the blanks to complete the code so that it finds and prints all the numbers between the given num1 and num2 (inclusive)
 * that are divisible by both 5 and 10.
 */
fun numbersDivisibleByFive(num1: Int, num2: Int) {

    // Initialize the starting number
    var i = num1

    // Iterate through the numbers between num1 and num2
    while (i <= num2) {
        // Check if the number m is divisible by both 5 and 10
        if (i % 5 == 0 && i % 10 == 0) {
            println(i)
        }
        i++
    }
}
/**
 * This exercise tests your knowledge of while loops and the AND operator.
 * Fill in the blanks to complete the code so that it finds and prints all the numbers between the given num1 and num2 (inclusive)
 * that are divisible by both 5 and 10.
 */
fun numbersDivisibleByFive(num1: Int, num2: Int) {
/**
 * This exercise tests your knowledge of while loops and the AND operator.
 * Fill in the blanks to complete the code so that it finds and prints all the numbers between the given num1 and num2 (inclusive)
 * that are divisible by both 5 and 10.
 */
fun numbersDivisibleByFive(num1: Int, num2: Int) {

    // Initialize the starting number
    var i = num1

    // Iterate through the numbers between num1 and num2
    while (i <= num2) {
        // Check if the number m is divisible by both 5 and 10
        if (i % 5 == 0 && i % 10 == 0) {
            println(i)
        }
        i++
    }
}