/**
 * This exercise tests your knowledge of booleans and division in Kotlin.
 *
 * Implement the code to check if x divided by y is a whole number.
 *
 * @param x The numerator.
 * @param y The denominator.
 * @return True if the division is a whole number, False otherwise.
 */
fun divideCheck(x: Int, y: Int): Boolean {

    // Calculate the division
    val result = x.toDouble() / y

    // Check if the result is a whole number
    val isWhole = result % 1 == 0.0

    return isWhole
}
/**
 * This exercise tests your knowledge of booleans and division in Kotlin.
 *
 * Implement the code to check if x divided by y is a whole number.
 *
 * @param x The numerator.
 * @param y The denominator.
 * @return True if the division is a whole number, False otherwise.
 */
fun divideCheck(x: Int, y: Int): Boolean {
/**
 * This exercise tests your knowledge of booleans and division in Kotlin.
 *
 * Implement the code to check if x divided by y is a whole number.
 *
 * @param x The numerator.
 * @param y The denominator.
 * @return True if the division is a whole number, False otherwise.
 */
fun divideCheck(x: Int, y: Int): Boolean {

    // Calculate the division
    val result = x.toDouble() / y

    // Check if the result is a whole number
    val isWhole = result % 1 == 0.0

    return isWhole
}