Ask Question
20 July, 04:19

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

+2
Answers (1)
  1. 20 July, 08:09
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers