Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Do not use functions for this assignment. 1. Write and test a PyDev module named te1.py. Copy your testing to testing.txt. This program calculates
Do not use functions for this assignment. 1. Write and test a PyDev module named te1.py. Copy your testing to testing.txt. This program calculates the annual tax paid by a company. The company's annual tax is 18.5 percent of total billing. The program asks the user to enter the projected total sales and prints the tax that is to be paid on that amount. The program must not ask the user for the tax rate, it should be defined as a constant. Sample execution: Enter the total sales: $32000 Projected Tax Report Total sales: Annual tax: Tax: $ 32,000.00 % 18.50 $ 5,920.00 Run the program with three different sets of inputs. Partial testing: Test to1.py: Choose File No file chosen
Step by Step Solution
There are 3 Steps involved in it
Step: 1
B mainpy 1 Constant for the annual tax rate 2 ANNUALTAXRATE 185 LN35 N 00 4 6 ...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