/**
 * This function modifies the amount of a specific ingredient in a recipe.
 *
 * @param recipe A map representing the recipe, where each key-value pair corresponds to an ingredient and its amount.
 * @param ingredient The name of the ingredient to be modified.
 * @param newAmount The new amount of the ingredient.
 * @return The updated recipe with the modified ingredient amount.
 */
fun modifyRecipe(recipe: MutableMap<String, Int>, ingredient: String, newAmount: Int): MutableMap<String, Int> {

    recipe[ingredient] = newAmount
    return recipe
}
/**
 * This function modifies the amount of a specific ingredient in a recipe.
 *
 * @param recipe A map representing the recipe, where each key-value pair corresponds to an ingredient and its amount.
 * @param ingredient The name of the ingredient to be modified.
 * @param newAmount The new amount of the ingredient.
 * @return The updated recipe with the modified ingredient amount.
 */
fun modifyRecipe(recipe: MutableMap<String, Int>, ingredient: String, newAmount: Int): MutableMap<String, Int> {
/**
 * This function modifies the amount of a specific ingredient in a recipe.
 *
 * @param recipe A map representing the recipe, where each key-value pair corresponds to an ingredient and its amount.
 * @param ingredient The name of the ingredient to be modified.
 * @param newAmount The new amount of the ingredient.
 * @return The updated recipe with the modified ingredient amount.
 */
fun modifyRecipe(recipe: MutableMap<String, Int>, ingredient: String, newAmount: Int): MutableMap<String, Int> {

    recipe[ingredient] = newAmount
    return recipe
}