/**
 * Update the income data for a specific year.
 *
 * @param incomeData A dictionary containing income data for each year.
 * @param year The year for which the income data is to be updated.
 * @param newIncome The new income value for the given year.
 * @return The updated income data dictionary.
 */
fun updateIncomeData(incomeData: MutableMap<Int, Float>, year: Int, newIncome: Float): MutableMap<Int, Float> {

    incomeData[year] = newIncome
    return incomeData
}
/**
 * Update the income data for a specific year.
 *
 * @param incomeData A dictionary containing income data for each year.
 * @param year The year for which the income data is to be updated.
 * @param newIncome The new income value for the given year.
 * @return The updated income data dictionary.
 */
fun updateIncomeData(incomeData: MutableMap<Int, Float>, year: Int, newIncome: Float): MutableMap<Int, Float> {
/**
 * Update the income data for a specific year.
 *
 * @param incomeData A dictionary containing income data for each year.
 * @param year The year for which the income data is to be updated.
 * @param newIncome The new income value for the given year.
 * @return The updated income data dictionary.
 */
fun updateIncomeData(incomeData: MutableMap<Int, Float>, year: Int, newIncome: Float): MutableMap<Int, Float> {

    incomeData[year] = newIncome
    return incomeData
}