/**
 * Write a function that takes in two numbers, num1 and num2, and returns true if num1 is greater than num2,
 * and false otherwise. Use an 'if' statement and the 'or' operator.
 *
 * @param num1 The first number.
 * @param num2 The second number.
 * @return true if num1 is greater than num2, false otherwise.
 */
fun isGreater(num1: Double, num2: Double): Boolean? {

    return when {
        num1 > num2 -> true
        num2 > num1 -> false
        else -> null
    }
}
/**
 * Write a function that takes in two numbers, num1 and num2, and returns true if num1 is greater than num2,
 * and false otherwise. Use an 'if' statement and the 'or' operator.
 *
 * @param num1 The first number.
 * @param num2 The second number.
 * @return true if num1 is greater than num2, false otherwise.
 */
fun isGreater(num1: Double, num2: Double): Boolean? {
/**
 * Write a function that takes in two numbers, num1 and num2, and returns true if num1 is greater than num2,
 * and false otherwise. Use an 'if' statement and the 'or' operator.
 *
 * @param num1 The first number.
 * @param num2 The second number.
 * @return true if num1 is greater than num2, false otherwise.
 */
fun isGreater(num1: Double, num2: Double): Boolean? {

    return when {
        num1 > num2 -> true
        num2 > num1 -> false
        else -> null
    }
}