on only please*** Project Two Developed by Yourname Welcom to MyStore! 0. Exit 1. Start a new tran

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

***Python only please***

Project Two Developed by Yourname
Welcom to MyStore!

0. Exit
1. Start a new transaction
Enter your choice:
1
Select a Customer
0: ('Aaron', 18)
1: ('Priscilla', 15)
2: ('Marty', 42)
3: ('John', 25)
4: ('Bob', 29)
5: ('Alicia', 75)
6: ('Eve', 15)
7: ('Joseph', 38)
8: ('Michael', 62)
9: ('Donald', 68)
Enter your choice (0 to 9):
8
Customer: 8 Michael 62

1. Add Items to Cart
2. Print Cart Content
3. Complete the Transaction
4. Abort the Transaction
Enter your choice:
1
Add to Cart.
0: ('Beans', 3.25)
1: ('Rice', 4.31)
2: ('Banana', 6.88)
3: ('Ice', 3.3)
4: ('Tea', 5.25)
5: ('Bread', 4.89)
6: ('Orange', 6.32)
7: ('Sugar', 2.25)
Enter your choice (0 to 7):
2
Enter quantity of Banana: 3

1. Add Items to Cart
2. Print Cart Content
3. Complete the Transaction
4. Abort the Transaction
Enter your choice:
1
Add to Cart.
0: ('Beans', 3.25)
1: ('Rice', 4.31)
2: ('Banana', 6.88)
3: ('Ice', 3.3)
4: ('Tea', 5.25)
5: ('Bread', 4.89)
6: ('Orange', 6.32)
7: ('Sugar', 2.25)
Enter your choice (0 to 7):
5
Enter quantity of Bread: 2

1. Add Items to Cart
2. Print Cart Content
3. Complete the Transaction
4. Abort the Transaction
Enter your choice:
1
Add to Cart.
0: ('Beans', 3.25)
1: ('Rice', 4.31)
2: ('Banana', 6.88)
3: ('Ice', 3.3)
4: ('Tea', 5.25)
5: ('Bread', 4.89)
6: ('Orange', 6.32)
7: ('Sugar', 2.25)
Enter your choice (0 to 7):
6
Enter quantity of Orange: 2

1. Add Items to Cart
2. Print Cart Content
3. Complete the Transaction
4. Abort the Transaction
Enter your choice:
2
--------------------
Item: Banana: 3 @ $6.88
discount: $2.06
Item: Bread: 2 @ $4.89
discount: $0.98
Item: Orange: 2 @ $6.32
discount: $1.26
--------------------

1. Add Items to Cart
2. Print Cart Content
3. Complete the Transaction
4. Abort the Transaction
Enter your choice:
3
Checkout
--------------------
Item: Banana: 3 @ $6.88
discount: $2.06
Item: Bread: 2 @ $4.89
discount: $0.98
Item: Orange: 2 @ $6.32
discount: $1.26
--------------------
Sub_total: $38.75

Tax: $1.36

Total: $40.11
Enter cash amount: 40
Insufficient payment. Try again.
Enter cash amount: 45
Cash: $45.00
Change: $4.89
Thank you for shopping at MyStore!

0. Exit
1. Start a new transaction
Enter your choice:
0
Thank you for using this program. Bye.

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 9 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY