Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Object Oriented Programming Shopping Cart Simulator

Introduction:

In this project, you will use Python to write an object-oriented program that simulates a shopping cart of a DVD store.

Requirements:

  • The program needs to be object oriented and written in Python.
  • When program starts, a list of commands is displayed in shell for customer to choose from: "List" "Cart", "Add", "Remove", "Checkout".
  • If the customer chooses "List", a list of products as well as price are displayed. A file called products.csv is provided. The program loads the product list from the file.
  • If "Add" is selected, prompts will ask for which product and quantity to add to the cart.
  • If "Cart" is selected, items in the shopping cart together with the price and quantity will be displayed.
  • If "Remove" is selected, prompts will ask for which item in the shopping cart to remove.
  • If "Checkout" is selected, calculate the shopping cart and display subtotal, tax (7%), and total.
  • Your program should be able to handle user errors.
  • Each student can do the project in a team of 4 students or less.
  • You can research on the internet. But do not copy code directly from webpages.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92280812
  • Price:- $30

Priced at Now at $30, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Show how an 8x1 multiplexer can be constructed from 4x1

Show how an 8x1 multiplexer can be constructed from 4x1 multiplexers and 2x1 multiplexers and no logic gates.

We just recently upgraded our user storage capacity storage

We just recently upgraded our user storage capacity Storage Area Network with a strategy for the next five years. Currently 800 users use about 60 Terabytes of storage, the new SAN was installed with about 180 TB to last ...

Can someone design a small program for me in java that do

Can someone design a small program for me in Java that do the following: Implement at least four classes (showing inheritance) with suitable constructors and methods to set/retrieve values of from the properties. Try to ...

Now assume that a country a takes 100 hours to produce 20

Now assume that a country A takes 100 hours to produce 20 aircraft or 10 jet engines and country B takes 100 hour to produce 15 aircraft or 5 jet engines. Which country has an absolute advantage in which product? Does ei ...

What is the sum after execution assume that min and max are

What is the SUM after execution? Assume that MIN and MAX are integers provided provided by the user, and that MAX is greater than MIN. (Solve without choosing actual values) INPUT MIN, MAX SUM= 0 DOFOR M= MIN, MAX SUM= S ...

Uranium vi fluoride is crucial for the enrichment of

Uranium (VI) fluoride is crucial for the enrichment of weapons-grade uranium. If a 1.0 mol sample of helium effuses in 255 s, how many seconds will it take for the same amount of uranium (VI) fluoride to effuse under the ...

1 what is the price of a semiannual 1000 par value bond

1) What is the price of a semiannual $1,000 par value bond with four years left until maturity that pays a coupon of 3.75% and is yielding 5.25%? What would it be yielding if the price decreased to $973.47? Assume semian ...

Systems analysis projectpersonal trainer inc owns and

Systems analysis project Personal Trainer, Inc. owns and operates fitness centers in a dozen Midwestern cities. The centers have done well, and the company is planning an international expansion by opening a new "superce ...

A chemistry student needsnbsp700 g of ethanolamine for an

A chemistry student needs 70.0 g of ethanolamine for an experiment. By consulting the  CRC Handbook of Chemistry and Physics , the student discovers that the density of ethanolamine is 1.02 g.cm^-3. Calculate the volume ...

Suppose the following matrix represents the number of saws

Suppose the following matrix represents the number of saws ordered from your company each month over the last year. saws = [1,4,5,3,7,5,3,10,12,8, 7, 4] All the numbers should be zero or positive. (a) Use an if statement ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As