/**
 * This function calculates the power dissipated in a circuit given the voltage and current.
 *
 * @param voltage The voltage in volts.
 * @param current The current in amperes.
 * @return The power in watts.
 */
fun calculatePower(voltage: Double, current: Double): Double {

    // Complete the following line of code to calculate the power:
    val power = voltage * current

    return power
}
/**
 * This function calculates the power dissipated in a circuit given the voltage and current.
 *
 * @param voltage The voltage in volts.
 * @param current The current in amperes.
 * @return The power in watts.
 */
fun calculatePower(voltage: Double, current: Double): Double {
/**
 * This function calculates the power dissipated in a circuit given the voltage and current.
 *
 * @param voltage The voltage in volts.
 * @param current The current in amperes.
 * @return The power in watts.
 */
fun calculatePower(voltage: Double, current: Double): Double {

    // Complete the following line of code to calculate the power:
    val power = voltage * current

    return power
}