/**
 * Takes voltage and resistance as input and returns the current using Ohm's Law equation
 */
fun calculateElectricCurrent(voltage: Double, resistance: Double): Double {

    val current = voltage / resistance
    return current
}

// Exercise
/**
 * Takes voltage and resistance as input and returns the current using Ohm's Law equation
 */
fun calculateElectricCurrent(voltage: Double, resistance: Double): Double {
/**
 * Takes voltage and resistance as input and returns the current using Ohm's Law equation
 */
fun calculateElectricCurrent(voltage: Double, resistance: Double): Double {

    val current = voltage / resistance
    return current
}

// Exercise