Create a program that allows you to view and edit the sales amounts for each month...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Create a program that allows you to view and edit the sales amounts for each month of the current year. Console Monthly Sales program COMMAND MENU view - View sales for specified month edit - Edit sales for specified month totals View sales summary for year exit - Exit program Command: view Three-letter Month: jan Sales amount for Jan is 14, 317.00. Command: edit Three-letter Month: jan Sales Amount: 15293 Sales amount for Jan is 15,293.00. Command: totals Yearly total: Monthly average: 67,855.00 5,654.58 Command: view Three-letter Month: july Invalid three-letter month. Command: exit Bye! Create a program that allows you to view and edit the sales amounts for each month of the current year. Console Monthly Sales program COMMAND MENU view - View sales for specified month edit - Edit sales for specified month totals View sales summary for year exit - Exit program Command: view Three-letter Month: jan Sales amount for Jan is 14, 317.00. Command: edit Three-letter Month: jan Sales Amount: 15293 Sales amount for Jan is 15,293.00. Command: totals Yearly total: Monthly average: 67,855.00 5,654.58 Command: view Three-letter Month: july Invalid three-letter month. Command: exit Bye!
Expert Answer:
Answer rating: 100% (QA)
Constants MONTHLYSALESFILE monthlysalestxt Function to read the sales data from the file and store it in a dictionary def readsalesdata salesdata try ... View the full answer
Related Book For
Intermediate Accounting
ISBN: 978-1260481952
10th edition
Authors: J. David Spiceland, James Sepe, Mark Nelson, Wayne Thomas
Posted Date:
Students also viewed these programming questions
-
ABC Company had the following transactions during May: May 5 Purchased $2,700 of merchandise on account, terms 3/15 n/60, FOB shipping point. 9 Paid transportation cost on the May 5 purchase, $250....
-
Current portion of long-term debt Connie's Bistro, Inc. reported the following information about its long-term debt in the notes to a recent financial statement (in millions): Long-term debt consists...
-
Businesses use budgets to plan for the future. Thats what you will be doing for this assignment. Rather than budgeting for your current financial situation, I want you to put together a budget for...
-
According to a study conducted by the Gallup organization, the proportion of Americans who are afraid to y is 0.10. A random sample of 1100 Americans results in 121 indicating that they are afraid to...
-
Determine the polar moment of inertia and the polar radius of gyration of the rectangle shown with respect to the midpoint of one of its (a) Longer sides, (b) Shorter sides. -2a-
-
Tableau case study question 2 / 3 The chart is using a top 3 filter to show us that categories c , a , and d are the top performers overall across the two year period. which categories are the top -...
-
List and distinguish the three views of structural modeling in the context of an example.
-
The 2013 Intel Annual Report can be found at the following Web site: www.pearsonhighered.com/fraser. Using the annual report, answer the following questions: (a) Using the Intel Annual Report,...
-
Net income for June\ Withdrawals by Billie Soares in June\ Additional investment by Billie Soares in June\ 115,000\ 25,000\ 50,000 \ a. Prepare a statement of owner's equity for the month ended June...
-
Jackie Wengler, owner of Wengler Home Decorating Service, has requested that you prepare from the following balances (a) An income statement for June 201X, (b) A statement of owner?s equity for June,...
-
Write an analytical film essay on the movie Harry Potter.
-
Do the values of each case: condition in a switch() statement have to be unique?
-
What are the arithmetic operators?
-
(a) If accounts payable are 40,000 and purchases are 240,000, what is the accounts payable/purchases ratio? (b) How many days does the business take on average to pay its creditors?
-
What is social software? Give two examples.
-
The Milham Theatre Club has been in existence for a number of years. Members pay an annual subscription of 15 which entitles them to join trips to professional productions at a reduced rate. On 1...
-
Q. How following topics are related to facility design? Capacity Economy of scale Layout Cycle time FMS
-
The diagram shows the two forces acting on a small object. Which of the following is the resultant force on the object? A. 8 N downwards B. 8 N upwards C. 2 N downwards D. 2 N upwards 3 N 5 N
-
In order to encourage employee ownership of the company's $1 par common shares, Washington Distribution permits any of its employees to buy shares directly from the company through payroll deduction....
-
Listed below are several terms and phrases associated with concepts discussed in the chapter. Pair each item from List A with the item from List B (by letter) that is most appropriately associated...
-
On January 1, 2021, Poplar Fabricators Corporation agreed to grant its employees two weeks of vacation each year, with the stipulation that vacations earned each year can be taken the following year....
-
Explain how the Feds doubling of the monetarybase and government bailouts might influencethe short-run and long-run Phillips curves.Will the influence come fromchanges in the expected inflation rate,...
-
Suppose because of a recession, most state governments experience reductions in tax revenues, and respond by reducing their expenditures and increasing their taxes to keep their state budgets in...
-
Why does a change in income taxes have a different effect on aggregate supply than a change in government expenditures?
Study smarter with the SolutionInn App