/**
 * Given a list of accountant's income accounts and a percentage increase, modify each income value in the accounts
 * list by the percentage increase using list comprehensions.
 *
 * @param accounts List of accountant's income accounts.
 * @param percentageIncrease Percentage increase to be applied to each income value.
 * @return Modified list of accountant's income accounts.
 */
fun modifyIncome(accounts: List<Double>, percentageIncrease: Int): List<Double> {

    return accounts.map { it * (1 + percentageIncrease / 100.0) }
}
/**
 * Given a list of accountant's income accounts and a percentage increase, modify each income value in the accounts
 * list by the percentage increase using list comprehensions.
 *
 * @param accounts List of accountant's income accounts.
 * @param percentageIncrease Percentage increase to be applied to each income value.
 * @return Modified list of accountant's income accounts.
 */
fun modifyIncome(accounts: List<Double>, percentageIncrease: Int): List<Double> {
/**
 * Given a list of accountant's income accounts and a percentage increase, modify each income value in the accounts
 * list by the percentage increase using list comprehensions.
 *
 * @param accounts List of accountant's income accounts.
 * @param percentageIncrease Percentage increase to be applied to each income value.
 * @return Modified list of accountant's income accounts.
 */
fun modifyIncome(accounts: List<Double>, percentageIncrease: Int): List<Double> {

    return accounts.map { it * (1 + percentageIncrease / 100.0) }
}