/**
 * This function takes two numbers as input and returns their XOR value if they are not equal.
 * The XOR operator (^) returns 1 if exactly one of the bits in the operands is 1, and 0 otherwise.
 * The inequality operator (!=) returns true if the operands are not equal, and false otherwise.
 */
fun xorNotEqualExample(num1: Int, num2: Int): Any {

    // Check if the numbers are not equal
    if (num1 != num2) {
        // Perform XOR operation
        val xorResult = num1 xor num2
        return xorResult
    } else {
        return "Numbers are equal, XOR operation not possible"
    }
}
/**
 * This function takes two numbers as input and returns their XOR value if they are not equal.
 * The XOR operator (^) returns 1 if exactly one of the bits in the operands is 1, and 0 otherwise.
 * The inequality operator (!=) returns true if the operands are not equal, and false otherwise.
 */
fun xorNotEqualExample(num1: Int, num2: Int): Any {
/**
 * This function takes two numbers as input and returns their XOR value if they are not equal.
 * The XOR operator (^) returns 1 if exactly one of the bits in the operands is 1, and 0 otherwise.
 * The inequality operator (!=) returns true if the operands are not equal, and false otherwise.
 */
fun xorNotEqualExample(num1: Int, num2: Int): Any {

    // Check if the numbers are not equal
    if (num1 != num2) {
        // Perform XOR operation
        val xorResult = num1 xor num2
        return xorResult
    } else {
        return "Numbers are equal, XOR operation not possible"
    }
}