/**
 * The task of this exercise is to complete the code to check if num1 is divisible by num2.
 * If num1 is divisible by num2, return true. Otherwise, return false.
 *
 * Additionally, if num1 is divisible by num2, print a message stating "Num1 is divisible by Num2".
 * If num1 is not divisible by num2, print a message stating "Num1 is not divisible by Num2".
 *
 * Complete the code below to solve the exercise.
 */
fun checkDivisible(num1: Int, num2: Int): Boolean {

    if (num1 % num2 == 0) {
        println("Num1 is divisible by Num2")
        return true
    } else {
        println("Num1 is not divisible by Num2")
        return false
    }
}
/**
 * The task of this exercise is to complete the code to check if num1 is divisible by num2.
 * If num1 is divisible by num2, return true. Otherwise, return false.
 *
 * Additionally, if num1 is divisible by num2, print a message stating "Num1 is divisible by Num2".
 * If num1 is not divisible by num2, print a message stating "Num1 is not divisible by Num2".
 *
 * Complete the code below to solve the exercise.
 */
fun checkDivisible(num1: Int, num2: Int): Boolean {
/**
 * The task of this exercise is to complete the code to check if num1 is divisible by num2.
 * If num1 is divisible by num2, return true. Otherwise, return false.
 *
 * Additionally, if num1 is divisible by num2, print a message stating "Num1 is divisible by Num2".
 * If num1 is not divisible by num2, print a message stating "Num1 is not divisible by Num2".
 *
 * Complete the code below to solve the exercise.
 */
fun checkDivisible(num1: Int, num2: Int): Boolean {

    if (num1 % num2 == 0) {
        println("Num1 is divisible by Num2")
        return true
    } else {
        println("Num1 is not divisible by Num2")
        return false
    }
}