Do not use functions for this assignment. 1. Write and test a PyDev module named te1.py....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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 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
Expert Answer:
Answer rating: 100% (QA)
B mainpy 1 Constant for the annual tax rate 2 ANNUALTAXRATE 185 LN35 N 00 4 6 ... View the full answer
Related Book For
Auditing a risk based approach to conducting a quality audit
ISBN: 978-1133939153
9th edition
Authors: Karla Johnstone, Audrey Gramling, Larry Rittenberg
Posted Date:
Students also viewed these programming questions
-
Steve Kolektur purchased an expensive original vase displayed in the window of the retail outlet Highlite Authentics & Originals. He paid the down payment of $10,000.00 and was to return 4 days later...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Given the function f(x) = e0.5x sin(x), let f'(x) = d be the exact derivative. dx We can generate a discrete function as a set of points (x, y), where y = f(x). Write a MATLAB code to do the...
-
Jinny Buffett recently retired as a flight attendant and is interested in opening a fitness center and health spa exclusively for women in Grand Cayman, where she resides. After careful study, she is...
-
In principle, it is possible to use rotating cylinders as aircraft wings. Consider a cylinder 30 cm in diameter, rotating at 2400 rev/min. It is to lift a 55-kN airplane flying at 100 m/s. What...
-
(a) In how many ways can we 2-color the eight regions of the pinwheel shown in Fig. 16.16, using the colors black and gold, if the back of each region remains grey? (b) Answer part (a) for the...
-
A single acting reciprocating pump has to deliver water against a total head of 50 m. The plunger diameter is 120 mm. What is the force exerted by the plunger during delivery stroke? Assume pump...
-
On January 1, 2013, Cook Textiles leased a building with two acres of land from Peck Development. The lease is for 10 years. No purchase option exists and the property will revert to Peck at the end...
-
Minimum Spanning Tree problem (not in book): Consider the following undirected weighted graph. 1 a. List the edges that are in the minimum spanning tree that Kruskal's algorithm would find in the...
-
5. A solid circular cylindrical body of radius a and height h is placed between two rigid plates. The plate at B is held stationary and the plate at A is subjected to a downward displacement 6. Using...
-
Technical writing is a specialized form of writing through which technical and professional communication is done in varied areas such as technical, engineering, or health sciences. Goal of technical...
-
Computing Net Income Healy Corporation recorded service revenues of $200,000 during the year, of which $140,000 were for credit and $60,000 were for cash. Moreover, of the $140,000 credit sales, it...
-
According to Encik Mohd Haris Mohd Arshad, the Sime Darby Oils Managing Director, the year 2021 could be an even more volatile year for the palm oil industry. The palm oil industry experts forecast...
-
Mr. Slim Shady is a well-known blacksmith, an expert on making kitchen knives. He is currently working on a project for the President of Indonesia. He prepares a 1.2 kg metal bar (iron) initially at...
-
An object is 15 cm away from a diverging lens. If the diverging lens creates a virtual image located 6 cim from the lens of the object, what is the lens' focal length? If the object's original height...
-
Midwest Motoring has a return on equity of 17% and a dividend payout ratio of 70%. Its market capitalization rate is 17%.
-
Solve each equation or inequality. |6x8-4 = 0
-
What is an automated purchasing system? Describe the beneficial tasks that an automated purchasing system can perform.
-
Describe how auditing standards affect the design of audit programs.
-
MULTIPLE-CHOICE QUESTIONS 1. Which of the following statements best describes what is meant by the term appropriateness of audit evidence? a. Appropriateness is a measure of the quality of audit...
-
One molecule of ATP provides 0.30 eV when it is used to power cellular processes. Photosynthesis in a typical plant requires 8 photons at 550 nm to produce 1 molecule of ATP. What is the overall...
-
A study of photosynthesis in phytoplankton in the open ocean used short pulses of laser light to trigger photosynthetic reactions. The investigators system used 0.10 mW pulses of 640 nm laser light...
-
Greg and Jan are married and file a joint tax return. They have two children: Ben and Kelly. Ben, age 20, was a full-time student during the current year and had scholarships of \($12,000.\) Greg and...
Study smarter with the SolutionInn App