Ask Question
14 February, 05:38

You work at a cheeseburger restaurant. Write a program that determines appropriate changes to a food order based on the user's dietary restrictions. Prompt the user for their dietary restrictions: vegetarian, lactose intolerant, or none. Then using if statements and else statements, print the cook a message describing how they should modify the order. The following messages should be used: - If the user enters "lactose intolerant", say "No cheese." - If the user enters "vegetarian", say "Veggie burger." - If the user enters "none", say "No alterations."

+4
Answers (1)
  1. 14 February, 05:49
    0
    See explaination

    Explanation:

    dietary_restrictions = input ("Any dietary restrictions?: ")

    if dietary_restrictions=="lactose intolerant":

    print ("No cheese")

    elif dietary_restrictions = = "vegetarian":

    print ("Veggie burger")

    else:

    print ("No alteration")
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “You work at a cheeseburger restaurant. Write a program that determines appropriate changes to a food order based on the user's dietary ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers