Computer Science, asked by kavinkria7730, 9 months ago

17. A Mega Shop has different floors which display varieties of drebelow:1. Ground floor : Kids Wear2. First floor : Ladies Wear3. Second floor : Designer Sarees4. Third Floor : Men's WearThe user enters floor number and gets the information regarding different items of the Mega shop. After shopping, the customer pays the amount at the billing counter and the shopkeeper prints the bill in the given format:Name of the Shop: City MartTotal AmountVisit Again!!!Write a program to perform the above task as per the user's choice ​

Answers

Answered by Equestriadash
11

CODE:

print("Welcome to City Mart!")

print("Below, are the ground numbers and their sections.")

print("1. Ground floor: Kids Wear", "2. First floor :Ladies Wear", "3. Second floor: Designer Sarees", "4. Third Floor: Men's Wear", sep="\n")

num = int(input("Enter a ground number to get more information:"))

if num == 1:

   print("This is the kids' section. We've dresses for ages 0 - 14.")

if num == 2:

   print("This is the Ladies' section. We've dresses from casual to traditional.")

if num == 3:

   print("This is the Designer section. Prices of items here are likely to be higher.")

if num == 4:

   print("This is the Men's section.")

print("Looks like you've made your purchase. Do pay your amount below:")

amt = int(input("Amount paid:"))

print("Your purchase has been made:", amt, "Your bill will be made shortly.", sep="\n")

print("Name of the complex: City Mart", "Bill Amount:", amt, "Thank you! Visit again!!", sep="\n")

OUTPUT:

Attachments:
Answered by priyasrinithi1984
2

Answer:

verify from the image attached above.

Attachments:
Similar questions