/**
 * Given a dictionary containing economic data, this function updates the values of key 'GDP' and 'Inflation'
 * by multiplying them with 1.02 and 0.98 respectively.
 *
 * @param data A dictionary containing economic data.
 * @return The updated dictionary with modified values for 'GDP' and 'Inflation'.
 */
fun updateEconomicData(data: MutableMap<String, Double>): MutableMap<String, Double> {

    for ((key, value) in data) {
        if (key == "GDP" || key == "Inflation") {
            data[key] = if (key == "GDP") value * 1.02 else value * 0.98
        }
    }
    return data
}
/**
 * Given a dictionary containing economic data, this function updates the values of key 'GDP' and 'Inflation'
 * by multiplying them with 1.02 and 0.98 respectively.
 *
 * @param data A dictionary containing economic data.
 * @return The updated dictionary with modified values for 'GDP' and 'Inflation'.
 */
fun updateEconomicData(data: MutableMap<String, Double>): MutableMap<String, Double> {
/**
 * Given a dictionary containing economic data, this function updates the values of key 'GDP' and 'Inflation'
 * by multiplying them with 1.02 and 0.98 respectively.
 *
 * @param data A dictionary containing economic data.
 * @return The updated dictionary with modified values for 'GDP' and 'Inflation'.
 */
fun updateEconomicData(data: MutableMap<String, Double>): MutableMap<String, Double> {

    for ((key, value) in data) {
        if (key == "GDP" || key == "Inflation") {
            data[key] = if (key == "GDP") value * 1.02 else value * 0.98
        }
    }
    return data
}