/**
 * Given the number of circuit breakers, the number of outlets per circuit, and the total number of outlets,
 * the function calculates the minimum number of circuits required for an electrician to install all the outlets.
 *
 * @param numBreakers The number of circuit breakers available
 * @param numOutletsPerCircuit The number of outlets that can be connected to a single circuit
 * @param totalOutlets The total number of outlets to be installed
 * @return The minimum number of circuits required to install all the outlets
 */
fun numberOfCircuits(numBreakers: Int, numOutletsPerCircuit: Int, totalOutlets: Int): Int {

    var circuitsNeeded = totalOutlets / numOutletsPerCircuit
    val remainingOutlets = totalOutlets % numOutletsPerCircuit

    if (remainingOutlets > 0) {
        circuitsNeeded++
    }

    return circuitsNeeded
}
/**
 * Given the number of circuit breakers, the number of outlets per circuit, and the total number of outlets,
 * the function calculates the minimum number of circuits required for an electrician to install all the outlets.
 *
 * @param numBreakers The number of circuit breakers available
 * @param numOutletsPerCircuit The number of outlets that can be connected to a single circuit
 * @param totalOutlets The total number of outlets to be installed
 * @return The minimum number of circuits required to install all the outlets
 */
fun numberOfCircuits(numBreakers: Int, numOutletsPerCircuit: Int, totalOutlets: Int): Int {
/**
 * Given the number of circuit breakers, the number of outlets per circuit, and the total number of outlets,
 * the function calculates the minimum number of circuits required for an electrician to install all the outlets.
 *
 * @param numBreakers The number of circuit breakers available
 * @param numOutletsPerCircuit The number of outlets that can be connected to a single circuit
 * @param totalOutlets The total number of outlets to be installed
 * @return The minimum number of circuits required to install all the outlets
 */
fun numberOfCircuits(numBreakers: Int, numOutletsPerCircuit: Int, totalOutlets: Int): Int {

    var circuitsNeeded = totalOutlets / numOutletsPerCircuit
    val remainingOutlets = totalOutlets % numOutletsPerCircuit

    if (remainingOutlets > 0) {
        circuitsNeeded++
    }

    return circuitsNeeded
}