/**
 * Implementing an alternative to the ternary operator using conditional statements
 */
fun alternativeTernaryOperator(condition: Boolean, ifTrue: Any, ifFalse: Any): Any {

    // Check if the condition is true
    return if (condition) {
        ifTrue
    } else {
        ifFalse
    }
}

// Electrician's code
/**
 * Implementing an alternative to the ternary operator using conditional statements
 */
fun alternativeTernaryOperator(condition: Boolean, ifTrue: Any, ifFalse: Any): Any {
/**
 * Implementing an alternative to the ternary operator using conditional statements
 */
fun alternativeTernaryOperator(condition: Boolean, ifTrue: Any, ifFalse: Any): Any {

    // Check if the condition is true
    return if (condition) {
        ifTrue
    } else {
        ifFalse
    }
}

// Electrician's code