Question: Write a program that asks a shop owner for product information and creates a menu system that allows customers to purchase multiple products of varying
Write a program that asks a shop owner for product information and creates a menu system that allows customers to purchase multiple products of varying quantities. The program should start by asking the shop owners name and company name. Next it should ask for three (3) products and their prices. Finally, it should display a menu.
Below is a sample run of the program that demonstrates how your output could look (user input is highlighted for emphasis):
Sample output:
Please enter your name: Alice
What is your company name? Wonderland
Hi Alice! We can set setup your 'Wonderland' sales menu. Please enter 3 products and their prices that you would like to sell.
Enter Product 1 and its price:
> Cake
> 1.5
Enter Product 2 and its price:
> Hat
> 2
Enter Product 3 and its price:
> Magic wand
> 1.99
This is what your customer will see as the menu.
===========================================================
Please select what you want to buy from the following menu:
1. Cake (each $1.50)
2. Hat (each $2.00)
3. Magic wand (each $1.99)
4. Done!
===========================================================
use python
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
