Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a program that allows you to view and edit the sales amounts for each month of the current year. Console Monthly Sales program

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!

Step by Step Solution

3.43 Rating (159 Votes )

There are 3 Steps involved in it

Step: 1

Constants MONTHLYSALESFILE monthlysalestxt Function to read the sales data from the file and store it in a dictionary def readsalesdata salesdata try ... 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

Intermediate Accounting

Authors: J. David Spiceland, James Sepe, Mark Nelson, Wayne Thomas

10th edition

1260481956, 1260310175, 978-1260481952

More Books

Students also viewed these Programming questions