/**
 * This Chef recipe takes two ingredients and determines if at least one of
 * them is in a certain category, using the OR operator and if statements.
 * Fill in the missing code to complete the recipe.
 */
fun chefRecipe(ingredient1: String, ingredient2: String) {

    // List of ingredients in the "salty" category
    val saltyIngredients = listOf("salt", "soy sauce", "anchovies", "olives")

    // List of ingredients in the "sweet" category
    val sweetIngredients = listOf("sugar", "honey", "chocolate", "maple syrup")

    // Check if the first ingredient is in the "salty" category
    if (ingredient1 in saltyIngredients || ingredient2 in saltyIngredients) {
        println("$ingredient1 is a salty ingredient!")
    } else {
        println("$ingredient1 is not a salty ingredient.")
    }

    // Check if the second ingredient is in the "sweet" category
    if (ingredient1 in sweetIngredients || ingredient2 in sweetIngredients) {
        println("$ingredient2 is a sweet ingredient!")
    } else {
        println("$ingredient2 is not a sweet ingredient.")
    }
}
/**
 * This Chef recipe takes two ingredients and determines if at least one of
 * them is in a certain category, using the OR operator and if statements.
 * Fill in the missing code to complete the recipe.
 */
fun chefRecipe(ingredient1: String, ingredient2: String) {
/**
 * This Chef recipe takes two ingredients and determines if at least one of
 * them is in a certain category, using the OR operator and if statements.
 * Fill in the missing code to complete the recipe.
 */
fun chefRecipe(ingredient1: String, ingredient2: String) {

    // List of ingredients in the "salty" category
    val saltyIngredients = listOf("salt", "soy sauce", "anchovies", "olives")

    // List of ingredients in the "sweet" category
    val sweetIngredients = listOf("sugar", "honey", "chocolate", "maple syrup")

    // Check if the first ingredient is in the "salty" category
    if (ingredient1 in saltyIngredients || ingredient2 in saltyIngredients) {
        println("$ingredient1 is a salty ingredient!")
    } else {
        println("$ingredient1 is not a salty ingredient.")
    }

    // Check if the second ingredient is in the "sweet" category
    if (ingredient1 in sweetIngredients || ingredient2 in sweetIngredients) {
        println("$ingredient2 is a sweet ingredient!")
    } else {
        println("$ingredient2 is not a sweet ingredient.")
    }
}