# Get user details
name = input("Enter your name: ")
phone = input("Enter your phone number: ")
address = input("Enter your address: ")

# Menu prices
burger_price = 5.00
pizza_price = 8.00
pasta_price = 7.50
salad_price = 4.00
soda_price = 1.50

# Initialize item quantities
burger_qty = 0
pizza_qty = 0
pasta_qty = 0
salad_qty = 0
soda_qty = 0

# Display menu
print("\n--- Restaurant Menu ---")
print("1. Burger: £{:.2f}".format(burger_price))
print("2. Pizza: £{:.2f}".format(pizza_price))
print("3. Pasta: £{:.2f}".format(pasta_price))
print("4. Salad: £{:.2f}".format(salad_price))
print("5. Soda: £{:.2f}".format(soda_price))

# Order loop
while True:
    item = input("\nEnter the item you want to order (or 'done' to finish): ")

    if item.lower() == "done":
        break
    elif item.lower() == "burger":
        qty = int(input("How many Burgers would you like to order? "))
        burger_qty += qty
        print(qty, "Burger(s) added to your order.")
    elif item.lower() == "pizza":
        qty = int(input("How many Pizzas would you like to order? "))
        pizza_qty += qty
        print(qty, "Pizza(s) added to your order.")
    elif item.lower() == "pasta":
        qty = int(input("How many Pastas would you like to order? "))
        pasta_qty += qty
        print(qty, "Pasta(s) added to your order.")
    elif item.lower() == "salad":
        qty = int(input("How many Salads would you like to order? "))
        salad_qty += qty
        print(qty, "Salad(s) added to your order.")
    elif item.lower() == "soda":
        qty = int(input("How many Sodas would you like to order? "))
        soda_qty += qty
        print(qty, "Soda(s) added to your order.")
    else:
        print("Sorry, that item is not on the menu.")

# Calculate total cost
total_cost = (burger_qty * burger_price) + (pizza_qty * pizza_price) + \
             (pasta_qty * pasta_price) + (salad_qty * salad_price) + \
             (soda_qty * soda_price)

# Print order summary
print("\nYour total order cost is: £{:.2f}".format(total_cost))
print("Thank you for your order!")
print("Your order will be delivered in 25 minutes to the address:", address)
