question archive Can someone how is expert at Python programming please help! This program should use main function

Can someone how is expert at Python programming please help! This program should use main function

Subject:Computer SciencePrice: Bought3

Can someone how is expert at Python programming please help!

This program should use main function.

 

1.In this program you will create sales program for a small store. It will track the date and the amount of sales. It will be capable of inserting, deleting, displaying, and plotting the data which is entered.

Begin by creating a sales class which allows you to store the sales amount in dollars and the date of the sale. Create the required accessors, mutators, and methods to store and retrieve these values. Next, create interface with a text based menu that allows the use to add, view, delete, and plot the sales figures. Store the sales figures in any of the abstract data types we have studied in this course. Do not use a Python list. Menu might look like the following:

 

Menu

 

1) Enter sales data

2) View sales data

3) Delete sales data

4) Plot sales data

5) Exit

 

Enter your choice:

This menu represents the minimum your program should do. Feel free to make your menu more sophisticated, add more classes, or word things differently. Do not use a GUI for this assignment.

 

Tips for full credit

  • Start your program with a welcome message 
  • Make sure to include comments in your program
  • Use good variable names. A good variable name is one which describes what is stored in it. Subtotal is a good variable name while x is a weak one.
  • Use correct indentation
  • Organize your non object oriented code into a main function
  • Use three or more methods outside of your class(es). Main does not count as one and the methods inside of your class(es) do not count.
  • Make sure your program repeats until the user is chooses to exit
  • Check for valid input
  • Make your display is professional looking
  • Make sure your plot is well labeled
  • Use one of the abstract data types studied so far in this course
  • Don't make assumptions. Ask clarifying questions.

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE