Develop a Python program to implement the solution of the problem described in Project 1. In addition to the requirement
Posted: Mon May 09, 2022 6:04 am
Develop a Python program to implement the solution of the
problem described in Project 1. In
addition to the requirements described in Project #1, Info on
project 1 is provided in pictures.
your Python program should also:
1. include a comment at the beginning of the source code that
indicates your name as the
author and the date it was written.
2. have the first output to the screen be an appropriate assignment
title and your name.
3. have a minimum of five methods.
4. PRIORITY SHOULD BE GIVEN to giving me Python code that ACTUALLY
RUNS.
Get the most basic code you can to run, then stub in outputs to
tell me the rest of what
you wanted to do.
Example Execution:
a. Below is an "example of the program execution".
b. Your solution does not have to be so nicely formatted.
c. Your solution should input each record and output it
immediately, then output the
summary at the end.
d. Please read the "Deliverables:" section below.
=================================
Solution for Project #2
ICI Daily Transaction Report
by john dirt
=================================
Enter the state: Arizona
Enter the date: May 18, 2020
Enter the tax rate as a decimal: .055
Please enter the SaleID: A111
Enter the pre-tax sale amount: 12435.67
Sale Summary:
============================
SaleID: A111
Pre-tax sale amount: 124345.67
Trans Amount: 13024.68
============================
AND SO ON UNTIL THE END...............
Please enter the SaleID: quit
==========================================
======= ICI: End of Day Report ========
State: Arizona
Date: May 18, 2020
Tax Rate: 0.055
==========================================
Total preTax Sales: 21040.82
Total postTax Sales: 21987.66
Average postTax Sale: 4397.53
High postTax Amount: 1243.65
High postTax saleID: A111
==========================================
==========================================
project 1 - pseudocode х (92) Ransteez - Bath N Apex ) | Online Python Compiler (Interp x C Get Homework Help With Che x + f → C msudenver.instructure.com/courses/54785/assignments/752277?module_item_id=4922949 本司 19 ! Apps M Gmail YouTube Maps C Write A Program... project1_spring2022d.docx Download Info X Close 1 ZOOM + Page < > of 4 mommation, and wen a report summary should display we total preta sale amount поина , the total post-tax sale amount and the average post-tax sale amount. The summary must also identify the "sale with the highest post-tax sale amount" by displaying the highest post-tax sale amount and associated sale ID. In the event that there are multiple instances of the largest post-tax sale amount only the first instance should be reported. Note that the pre-tax sale amount is the “listed price"- similar to a “MSRP- Manufacturer's Suggested Retail Price". The post-tax sale amount is the actual amount of the sale after taxes have been applied- (see the formulas below). The sales tax rate will vary by state, so it is an input field. The state sales tax rate should be INPUT as a decimal. So-if sales tax is 11%, the user should input 0.11 All monetary inputs should be displayed with two decimal positions and should be expressed in dollars and cents (using the $ sign when appropriate).* All monetary outputs should be displayed with the decimal positions and should be expressed in dollars and cents (using the $ sign when appropriate).* Just to be clear- the sales data for each state is entered as a batch process at the end of the day. Users of the program at ICI will enter the data which consists of the state, sale date and sales tax rate (these three fields are input once) followed by each sale record containing the sale ID and pre-tax sale amount. Users will enter "quit" (just the letters quit, they will not enter double quotes) as the sale ID when they want to exit the program and prompt the output of the final report (which consists of the total pre-tax sale amount, the total post-tax sale amount, the average post-tax sale amount, the highest post-tax sale amount and the associated sale ID. Page 1 of 4 project1_sprin....docx A project2_2022b.docx Cis2110 project 1.pdf hw7cis2110 sprin....rtf Show All Х
project 1 - pseudocode х (92) Ransteez - Bath N Apex ) | Online Python Compiler (Interp X C Get Homework Help With Che x + f → C msudenver.instructure.com/courses/54785/assignments/752277?module_item_id=4922949 本司 19 ! Apps M Gmail YouTube Maps C Write A Program... project1_spring2022d.docx Download Info X Close Page < 2 > of 4 ZOOM + The average post-tax sale amount is determined by dividing the total post-tax sale amount by the number of sales that day. *Formatting considerations such as using dollar signs (S), percentage signs (%), and decimal places only need to be considered when you are actually programming- you do not need to consider these requirements when writing the human-level or program-level walk-throughs, the hierarchy chart, the flow-chart, or the pseudocode. At this time, the program only needs to deal with a single state- but you need to let the user specify which state they want to input the data for. Each store has a $30,000 pre-tax sale amount limit for any one sale. If a sale has a pre-tax sale amount of more than $30,000, the program should prompt the user for a sale subtotal amount less than $30,000. A subset of data for a typical day is given for you to test your models. CIS 2110 Project #1 Test Data ICI Daily Sales State: Arizona May 18, 2020 5.5% Date: State tax rate: sale ID A111 A222 A333 Pre-tax sale amount 12345.67 23456.78 9876.54 project1_sprin....docx A project2_2022b.docx Cis2110 project 1.pdf hw7cis2110 sprin....rtf Show All Х
project 1 - pseudocode х (92) Deetranada Bars On I x| ( Online Python Compiler (Interp X C Get Homework Help With Che x + f → C msudenver.instructure.com/courses/54785/assignments/752277?module_item_id=4922949 本司 19 ! Apps M Gmail YouTube Maps C Write A Program... project1_spring2022d.docx Download Info X Close Page < 1 > of 4 ZOOM + Problem Description: The Inverness Corporation, Inc. (ICI) sells mining equipment in Arizona, Utah, and Colorado. ICI needs a sales report of the sales for each day, and your job is to write program that will take sales data from the user, aggregate it, and produce a report. The report should begin by asking the user to input the state, sale date, and sales tax rate for the given state- this data should then be displayed back to the user only once- this is the report "header". The user should then input the sale ID and the pre-tax sale amount for a sale. Next, the report will display an output line showing the sale ID, the pre-tax sale amount, and the post-tax sale amount paid by the customer (this output will be shown after the data is input for each sale). After all sales records are entered and displayed, the user should enter "quit" as the sale ID to indicate they are done entering sales information, and then a report summary should display the total pre-tax sale amount, the total post-tax sale amount and the average post-tax sale amount. The summary must also identify the "sale with the highest post-tax sale amount" by displaying the highest post-tax sale amount and associated sale ID. In the event that there are multiple instances of the largest post-tax sale amount only the first instance should be reported. Note that the pre-tax sale amount is the “listed price"- similar to a “MSRP- Manufacturer's Suggested Retail Price”. The post-tax sale amount is the actual amount of the sale after taxes have been applied- (see the formulas below). The sales tax rate will vary by state, so it is an input field. The state sales tax rate should be INPUT as a decimal. So-if sales tax is 11%, the user should input 0.11 All monetary inputs should be displayed with two decimal positions and should be expressed in dollars and cents (using the $ sign when appropriate).* project1_sprin....docx A project2_2022b.docx Cis2110 project 1.pdf hw7cis2110 sprin....rtf A Show All Х
problem described in Project 1. In
addition to the requirements described in Project #1, Info on
project 1 is provided in pictures.
your Python program should also:
1. include a comment at the beginning of the source code that
indicates your name as the
author and the date it was written.
2. have the first output to the screen be an appropriate assignment
title and your name.
3. have a minimum of five methods.
4. PRIORITY SHOULD BE GIVEN to giving me Python code that ACTUALLY
RUNS.
Get the most basic code you can to run, then stub in outputs to
tell me the rest of what
you wanted to do.
Example Execution:
a. Below is an "example of the program execution".
b. Your solution does not have to be so nicely formatted.
c. Your solution should input each record and output it
immediately, then output the
summary at the end.
d. Please read the "Deliverables:" section below.
=================================
Solution for Project #2
ICI Daily Transaction Report
by john dirt
=================================
Enter the state: Arizona
Enter the date: May 18, 2020
Enter the tax rate as a decimal: .055
Please enter the SaleID: A111
Enter the pre-tax sale amount: 12435.67
Sale Summary:
============================
SaleID: A111
Pre-tax sale amount: 124345.67
Trans Amount: 13024.68
============================
AND SO ON UNTIL THE END...............
Please enter the SaleID: quit
==========================================
======= ICI: End of Day Report ========
State: Arizona
Date: May 18, 2020
Tax Rate: 0.055
==========================================
Total preTax Sales: 21040.82
Total postTax Sales: 21987.66
Average postTax Sale: 4397.53
High postTax Amount: 1243.65
High postTax saleID: A111
==========================================
==========================================
project 1 - pseudocode х (92) Ransteez - Bath N Apex ) | Online Python Compiler (Interp x C Get Homework Help With Che x + f → C msudenver.instructure.com/courses/54785/assignments/752277?module_item_id=4922949 本司 19 ! Apps M Gmail YouTube Maps C Write A Program... project1_spring2022d.docx Download Info X Close 1 ZOOM + Page < > of 4 mommation, and wen a report summary should display we total preta sale amount поина , the total post-tax sale amount and the average post-tax sale amount. The summary must also identify the "sale with the highest post-tax sale amount" by displaying the highest post-tax sale amount and associated sale ID. In the event that there are multiple instances of the largest post-tax sale amount only the first instance should be reported. Note that the pre-tax sale amount is the “listed price"- similar to a “MSRP- Manufacturer's Suggested Retail Price". The post-tax sale amount is the actual amount of the sale after taxes have been applied- (see the formulas below). The sales tax rate will vary by state, so it is an input field. The state sales tax rate should be INPUT as a decimal. So-if sales tax is 11%, the user should input 0.11 All monetary inputs should be displayed with two decimal positions and should be expressed in dollars and cents (using the $ sign when appropriate).* All monetary outputs should be displayed with the decimal positions and should be expressed in dollars and cents (using the $ sign when appropriate).* Just to be clear- the sales data for each state is entered as a batch process at the end of the day. Users of the program at ICI will enter the data which consists of the state, sale date and sales tax rate (these three fields are input once) followed by each sale record containing the sale ID and pre-tax sale amount. Users will enter "quit" (just the letters quit, they will not enter double quotes) as the sale ID when they want to exit the program and prompt the output of the final report (which consists of the total pre-tax sale amount, the total post-tax sale amount, the average post-tax sale amount, the highest post-tax sale amount and the associated sale ID. Page 1 of 4 project1_sprin....docx A project2_2022b.docx Cis2110 project 1.pdf hw7cis2110 sprin....rtf Show All Х
project 1 - pseudocode х (92) Ransteez - Bath N Apex ) | Online Python Compiler (Interp X C Get Homework Help With Che x + f → C msudenver.instructure.com/courses/54785/assignments/752277?module_item_id=4922949 本司 19 ! Apps M Gmail YouTube Maps C Write A Program... project1_spring2022d.docx Download Info X Close Page < 2 > of 4 ZOOM + The average post-tax sale amount is determined by dividing the total post-tax sale amount by the number of sales that day. *Formatting considerations such as using dollar signs (S), percentage signs (%), and decimal places only need to be considered when you are actually programming- you do not need to consider these requirements when writing the human-level or program-level walk-throughs, the hierarchy chart, the flow-chart, or the pseudocode. At this time, the program only needs to deal with a single state- but you need to let the user specify which state they want to input the data for. Each store has a $30,000 pre-tax sale amount limit for any one sale. If a sale has a pre-tax sale amount of more than $30,000, the program should prompt the user for a sale subtotal amount less than $30,000. A subset of data for a typical day is given for you to test your models. CIS 2110 Project #1 Test Data ICI Daily Sales State: Arizona May 18, 2020 5.5% Date: State tax rate: sale ID A111 A222 A333 Pre-tax sale amount 12345.67 23456.78 9876.54 project1_sprin....docx A project2_2022b.docx Cis2110 project 1.pdf hw7cis2110 sprin....rtf Show All Х
project 1 - pseudocode х (92) Deetranada Bars On I x| ( Online Python Compiler (Interp X C Get Homework Help With Che x + f → C msudenver.instructure.com/courses/54785/assignments/752277?module_item_id=4922949 本司 19 ! Apps M Gmail YouTube Maps C Write A Program... project1_spring2022d.docx Download Info X Close Page < 1 > of 4 ZOOM + Problem Description: The Inverness Corporation, Inc. (ICI) sells mining equipment in Arizona, Utah, and Colorado. ICI needs a sales report of the sales for each day, and your job is to write program that will take sales data from the user, aggregate it, and produce a report. The report should begin by asking the user to input the state, sale date, and sales tax rate for the given state- this data should then be displayed back to the user only once- this is the report "header". The user should then input the sale ID and the pre-tax sale amount for a sale. Next, the report will display an output line showing the sale ID, the pre-tax sale amount, and the post-tax sale amount paid by the customer (this output will be shown after the data is input for each sale). After all sales records are entered and displayed, the user should enter "quit" as the sale ID to indicate they are done entering sales information, and then a report summary should display the total pre-tax sale amount, the total post-tax sale amount and the average post-tax sale amount. The summary must also identify the "sale with the highest post-tax sale amount" by displaying the highest post-tax sale amount and associated sale ID. In the event that there are multiple instances of the largest post-tax sale amount only the first instance should be reported. Note that the pre-tax sale amount is the “listed price"- similar to a “MSRP- Manufacturer's Suggested Retail Price”. The post-tax sale amount is the actual amount of the sale after taxes have been applied- (see the formulas below). The sales tax rate will vary by state, so it is an input field. The state sales tax rate should be INPUT as a decimal. So-if sales tax is 11%, the user should input 0.11 All monetary inputs should be displayed with two decimal positions and should be expressed in dollars and cents (using the $ sign when appropriate).* project1_sprin....docx A project2_2022b.docx Cis2110 project 1.pdf hw7cis2110 sprin....rtf A Show All Х