Answered step by step
Verified Expert Solution
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 ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started