Ask Question
21 December, 06:28

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."

+5
Answers (1)
  1. 21 December, 06:40
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers