Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This a Python question. I need to write a program for this passage Project 1 written by YOURNAME Welcom to MyStore! 1. Get Customer Info

This a Python question. I need to write a program for this passage

image text in transcribedimage text in transcribed

Project 1 written by YOURNAME Welcom to MyStore! 1. Get Customer Info 2. Add Items to Cart 3. Print Cart Content 4. Complete the Transaction 5. Abort the Transaction Enter your choice: 1 Customer Info Enter customer name: Lisa Enter customer age (15 to 120): 30 1. Get Customer Info 2. Add Items to Cart 3. Print Cart Content 4. Complete the Transaction 5. Abort the Transaction Enter your choice: 2 Add to Cart. Enter item name: Bread Enter price for Bread: 1.99 Enter quantity of Bread: 5 1. Get Customer Info 2. Add Items to Cart 3. Print Cart Content 4. Complete the Transaction 5. Abort the Transaction Enter your choice: 7 Invalid choice. Try again. 1. Get Customer Info 2. Add Items to Cart 3. Print Cart Content 4. Complete the Transaction 5. Abort the Transaction Enter your choice: -1 Invalid choice. Try again. 1. Get Customer Info 2. Add Items to Cart 3. Print Cart Content 4. Complete the Transaction 5. Abort the Transaction Enter your choice: 2 Add to Cart. Enter item name: TV Enter price for TV: 699.99 Enter quantity of TV: 1 1. Get Customer Info 2. Add Items to Cart 3. Print Cart Content 4. Complete the Transaction 5. Abort the Transaction Enter your choice: 4 Checkout Customer: Lisa, age: 30 ------------- Item: Bread: 5 @ $1.990000 Item: TV: 1 @ $699.990000 -------------- Sub_total: $709.940000 Tax: $24.847900 Total: $734.787900 Enter cash amount: 30 Insufficient payment. Try again. Enter cash amount: 750 Cash: $750.000000 Change: $15.212100 Thank you for shapping at MyStore

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Administration The Complete Guide To Dba Practices And Procedures

Authors: Craig S. Mullins

2nd Edition

0321822943, 978-0321822949

More Books

Students also viewed these Databases questions