Answer:
total = 0
items = int(input("Enter the number of items ordered: "))
for i in range(items):
price = float(input("Enter the price of item " + str(i+1) + ": "))
total += price
if total < 200:
total += (items * 10)
print("Bill is $" + str(total))
Step-by-step explanation:
*The code is in Python.
Ask the user to enter the number of items ordered
Create a for loop that iterates depending on the number of items ordered. Inside the loop, ask the price of each item and add it to the total
After the loop, check the total. If it is smaller than 200, add 10 for each item to the total
Print the total