/**
 * Given a list of dividends and a divisor, divide each dividend in the list and assign the result to the corresponding index of the list.
 * Return the modified list.
 *
 * Example:
 * dividendList = [10.0, 15.0, 20.0, 25.0]
 * divisor = 5.0
 * Resulting modified list: [2.0, 3.0, 4.0, 5.0]
 *
 * @param dividendList A list of dividends (doubles)
 * @param divisor The divisor (double)
 * @return The modified list with quotients (doubles)
 */
fun divisionAssignmentOperatorSocialWorker(dividendList: MutableList<Double>, divisor: Double): List<Double> {

    // Divide each dividend by the divisor and store the result in the corresponding index of the list using the division assignment operator (/=)
    for (i in dividendList.indices) {
        dividendList[i] /= divisor
    }
    
    return dividendList
}
/**
 * Given a list of dividends and a divisor, divide each dividend in the list and assign the result to the corresponding index of the list.
 * Return the modified list.
 *
 * Example:
 * dividendList = [10.0, 15.0, 20.0, 25.0]
 * divisor = 5.0
 * Resulting modified list: [2.0, 3.0, 4.0, 5.0]
 *
 * @param dividendList A list of dividends (doubles)
 * @param divisor The divisor (double)
 * @return The modified list with quotients (doubles)
 */
fun divisionAssignmentOperatorSocialWorker(dividendList: MutableList<Double>, divisor: Double): List<Double> {
/**
 * Given a list of dividends and a divisor, divide each dividend in the list and assign the result to the corresponding index of the list.
 * Return the modified list.
 *
 * Example:
 * dividendList = [10.0, 15.0, 20.0, 25.0]
 * divisor = 5.0
 * Resulting modified list: [2.0, 3.0, 4.0, 5.0]
 *
 * @param dividendList A list of dividends (doubles)
 * @param divisor The divisor (double)
 * @return The modified list with quotients (doubles)
 */
fun divisionAssignmentOperatorSocialWorker(dividendList: MutableList<Double>, divisor: Double): List<Double> {

    // Divide each dividend by the divisor and store the result in the corresponding index of the list using the division assignment operator (/=)
    for (i in dividendList.indices) {
        dividendList[i] /= divisor
    }
    
    return dividendList
}