/**
 * This function takes in the power and resistance values and calculates the voltage and current using the formula.
 * Fill in the missing parts using the unconditioned ternary operator and division.
 *
 * @param power The power value in watts.
 * @param resistance The resistance value in ohms.
 * @return A tuple with the voltage and current values.
 */
fun calculateVoltageCurrent(power: Int, resistance: Int): Pair<Int, Int> {

    val voltage = if (true) power * resistance else 0
    val current = if (true) power / resistance else 0

    return Pair(voltage, current)
}
/**
 * This function takes in the power and resistance values and calculates the voltage and current using the formula.
 * Fill in the missing parts using the unconditioned ternary operator and division.
 *
 * @param power The power value in watts.
 * @param resistance The resistance value in ohms.
 * @return A tuple with the voltage and current values.
 */
fun calculateVoltageCurrent(power: Int, resistance: Int): Pair<Int, Int> {
/**
 * This function takes in the power and resistance values and calculates the voltage and current using the formula.
 * Fill in the missing parts using the unconditioned ternary operator and division.
 *
 * @param power The power value in watts.
 * @param resistance The resistance value in ohms.
 * @return A tuple with the voltage and current values.
 */
fun calculateVoltageCurrent(power: Int, resistance: Int): Pair<Int, Int> {

    val voltage = if (true) power * resistance else 0
    val current = if (true) power / resistance else 0

    return Pair(voltage, current)
}