Question: Help with a Python programming problem, i got the first problem correct but cant seem to get this one. TASK 2: A retail company must
Help with a Python programming problem, i got the first problem correct but cant seem to get this one.
- TASK 2: A retail company must file a monthly sales tax report listing the total sales for the month and the amount of state and federal sales tax collected.
-
- The Company made $1000 in sales in month 1.
- Sales increased by 10% from the previous month each month for 6 months except in month 5 where it increased only 7%. (i.e. From month 5 to month 6 there was only a 7% increase)
- State tax rate is 5 percent and the Federal tax rate is 2.5 percent.
- Write code that utilizes a while loop to display the amount of sales and tax collected in each of the six month as shown on slide 3.
PExam12 T Text Shape ide Play Keynote Live Table Chart Media Comment Collaborate Expected Output Task 1 Python 3.6.1 Shell File Edit Shell Debug Options Window Help ==== RESTART: C:/Users/msgth/Desktop/A_Python_CUNY_2020/PExaml Solution.py ==-- YEAR OLD TUITION COST PERCENT INCREASE NEW TUITION COST $8,000.00 $8,240.00 $8,240.00 $8,734.40 $8,734.40 $9,520.50 $9,520.50 $10, 662.96 $10,662.96 $12,262.40 33 63 TUITION INCREASE $240.00 $494.40 $786.10 $1,142.46 $1,599.44 dloop CREATED BY GENE LOCKLEAR MONTH Task 2 OWN 3 MONTHLY SALES $1,000.00 $1,100.00 $1,210.00 $1,331.00 $1,464.10 $1,566.59 STATE TAX AMOUNT $50.00 $55.00 $60.50 $66.55 $73.20 $78.33 FED TAX AMOUNT $25.00 $27.50 $30.25 $33.27 $36.60 $39.16 TOTAL TAX AMOUNT $75.00 $82.50 $90.75 $99.82 $109.81 $117.49 SALES-TAX $925.00 $1,017.50 $1,119.25 $1,231.17 $1,354.29 $1,449.09 CREATED BY GENE LOCKLEAR Lr 23 Cot 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
