Question: 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
B mainpy 1 Constant for the annual tax rate 2 ANNUALTAXRATE 185 LN35 N 00 4 6 ... View full answer
Get step-by-step solutions from verified subject matter experts
