/**
 * This exercise requires the student to understand the concept of identity comparison and multiplication. The student needs to write a function that returns true only if the multiplication of two numbers is equal to the third number and all three numbers are identical.
 *
 * @param x First number
 * @param y Second number
 * @param z Third number
 * @return true if x * y == z and x == y == z, else false
 */
fun identityComparisonAndMultiplication(x: Double, y: Double, z: Double): Boolean {

    return if (x === y && y === z) { // Identical comparison check
        x * y == z // Multiplication check
    } else {
        false
    }
}
/**
 * This exercise requires the student to understand the concept of identity comparison and multiplication. The student needs to write a function that returns true only if the multiplication of two numbers is equal to the third number and all three numbers are identical.
 *
 * @param x First number
 * @param y Second number
 * @param z Third number
 * @return true if x * y == z and x == y == z, else false
 */
fun identityComparisonAndMultiplication(x: Double, y: Double, z: Double): Boolean {
/**
 * This exercise requires the student to understand the concept of identity comparison and multiplication. The student needs to write a function that returns true only if the multiplication of two numbers is equal to the third number and all three numbers are identical.
 *
 * @param x First number
 * @param y Second number
 * @param z Third number
 * @return true if x * y == z and x == y == z, else false
 */
fun identityComparisonAndMultiplication(x: Double, y: Double, z: Double): Boolean {

    return if (x === y && y === z) { // Identical comparison check
        x * y == z // Multiplication check
    } else {
        false
    }
}