/**
 * Given two integers, implement a function that returns the smaller value between the two using the ternary operator.
 *
 * @param value1 First integer value
 * @param value2 Second integer value
 * @return The smaller value between value1 and value2
 *
 * Example:
 * intersectionLtExampleTernaryOperator(5, 10) -> 5
 *
 * Note:
 * The ternary operator in Python has the following syntax:
 * expression1 if condition else expression2
 *
 * It returns expression1 if the condition is true; otherwise, it returns expression2.
 */
fun intersectionLtExampleTernaryOperator(value1: Int, value2: Int): Int {

    return if (value1 < value2) value1 else value2
}
/**
 * Given two integers, implement a function that returns the smaller value between the two using the ternary operator.
 *
 * @param value1 First integer value
 * @param value2 Second integer value
 * @return The smaller value between value1 and value2
 *
 * Example:
 * intersectionLtExampleTernaryOperator(5, 10) -> 5
 *
 * Note:
 * The ternary operator in Python has the following syntax:
 * expression1 if condition else expression2
 *
 * It returns expression1 if the condition is true; otherwise, it returns expression2.
 */
fun intersectionLtExampleTernaryOperator(value1: Int, value2: Int): Int {
/**
 * Given two integers, implement a function that returns the smaller value between the two using the ternary operator.
 *
 * @param value1 First integer value
 * @param value2 Second integer value
 * @return The smaller value between value1 and value2
 *
 * Example:
 * intersectionLtExampleTernaryOperator(5, 10) -> 5
 *
 * Note:
 * The ternary operator in Python has the following syntax:
 * expression1 if condition else expression2
 *
 * It returns expression1 if the condition is true; otherwise, it returns expression2.
 */
fun intersectionLtExampleTernaryOperator(value1: Int, value2: Int): Int {

    return if (value1 < value2) value1 else value2
}