Termattor Cluss unit megree programs Write a program that will allow a manager to determine and...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Termattor Cluss unit megree programs Write a program that will allow a manager to determine and display the total sales for the department. The manager will enter the sales goal for the month. Then the manager will enter (input) the sales for each salesperson for four (4) weeks. After each salesperson, the program should ask the manager if there is another. Once all the sales are entered the program will accumulate the total sales for the department. Display the total number of employees in the department and total sales for the department. The manager earns a 2% bonus on all sales for the month. If the total department's sales exceed the sales goal, then the manager's bonus is 5% of the total sales. Determine and display the sales goal and manager's bonus amount. Hint: two loops are required - use a loop to allow for another salesperson's monthly sales to be entered and a second loop for the four (4) weeks of sales of the individual salesperson. Some sample Input/Output is provided on the next page. The output is based on the input for two (2) employees one with weekly sales of (1200, 1300, 1250, 2250) and second salesperson's sales (2399, 2103, 1900, 1000). Sales goal for the month - $11000. You do not need to round or truncate your output Save your program as Lab3.py and upload your source file to the appropriate dropbox in GradoScopo NOTD2LI Input Sales goal: 11000 Salesperson 1 week 1: 1200 Salesperson 1 week 4: 2250 Another salesperson?: y Salesperson 2 week 1: 2399 Salesperson 2 week 4: 1000 Another salesperson?: n Output Department Monthly Sales and Commission Number of Employees: 2 Department Sales Goal: $11000 Total Sales: $13, 402.00 Mgr. Bonus: $570.10 Termattor Cluss unit megree programs Write a program that will allow a manager to determine and display the total sales for the department. The manager will enter the sales goal for the month. Then the manager will enter (input) the sales for each salesperson for four (4) weeks. After each salesperson, the program should ask the manager if there is another. Once all the sales are entered the program will accumulate the total sales for the department. Display the total number of employees in the department and total sales for the department. The manager earns a 2% bonus on all sales for the month. If the total department's sales exceed the sales goal, then the manager's bonus is 5% of the total sales. Determine and display the sales goal and manager's bonus amount. Hint: two loops are required - use a loop to allow for another salesperson's monthly sales to be entered and a second loop for the four (4) weeks of sales of the individual salesperson. Some sample Input/Output is provided on the next page. The output is based on the input for two (2) employees one with weekly sales of (1200, 1300, 1250, 2250) and second salesperson's sales (2399, 2103, 1900, 1000). Sales goal for the month - $11000. You do not need to round or truncate your output Save your program as Lab3.py and upload your source file to the appropriate dropbox in GradoScopo NOTD2LI Input Sales goal: 11000 Salesperson 1 week 1: 1200 Salesperson 1 week 4: 2250 Another salesperson?: y Salesperson 2 week 1: 2399 Salesperson 2 week 4: 1000 Another salesperson?: n Output Department Monthly Sales and Commission Number of Employees: 2 Department Sales Goal: $11000 Total Sales: $13, 402.00 Mgr. Bonus: $570.10
Expert Answer:
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these computer network questions
-
A car moving with over-speed limit constant speed 36.7 m/s passes a police car at rest. The police car immediately takes off in pursuit, accelerating with 7.5 m/s^2. How long does it take for police...
-
(a) Find the inverse of the following matrix, mod (26) 1 3 0 -4 0 1 1 0 - -2,
-
Alpha Company used the periodic inventory system for purchase & sales of merchandise. Discount terms for both purchase & sales are, FOB Destination, 2/10, n30 and the gross method is used. > Alpha...
-
Your firm needs to decide how much to ship along each route AND which of the new stores to open. Opening Gamma incurs a fixed cost of $225. Opening Omega incurs a fixed cost of $200. The relevant...
-
Lisun Company produces a variety of gardening tools and aids. The company is examining the possibility of investing in a new production system that will reduce the costs of the current system. The...
-
Dixon Development began operations in December 2018. When lots for industrial development are sold, Dixon recognizes income for financial reporting purposes in the year of the sale. For some lots,...
-
Refer to the data for Cycle Guys in E5-31B. Requirements 1. Compute the cost of goods sold under FIFO. 2. Compute the cost of goods sold under LIFO. 3. Which method results in a higher cost of goods...
-
Orlando Auto Accessories produces pickup truck bumpers that it sells on a wholesale basis to new car retailers. The average bumper sales price is $160. Normal annual sales volume is 300,000 units,...
-
Jiggly Urgent Care provides urgent medical services. On staff it has one doctor, one nurse, and one administrative assistant. Compensation is $232,320 per year for the doctor, $89,700 for the nurse,...
-
Water at 20C is flowing inside a commercial steel pipe with a diameter of 150 mm and roughness fraction of 0.046 mm. The pipe is 100 m long and the pressure difference to overcome friction loss is 35...
-
The approximate nominal rate of interest on a bond with a real rate of 2 . 9 0 % p . a . and expected inflation of 0 . 5 0 % p . a . is closest to ?
-
What was the principal purpose of the original Sale of Goods Act?
-
Define expectation damages, consequential damages, and specific performance. Give an example of each.
-
How does the Competition Act attempt to prevent fraudulent telemarketing?
-
Why may an option to terminate clause be described as a condition subsequent?
-
Anderson, a skilled mechanic, agreed to do some car repair work for Bartlett. Anderson was busy when the car was delivered for repair and gave his friend Gauche the work to do, without consulting...
-
Find f of x as x approaches zero from the right lim f(x) = x -> 0+ (etricq C) Sansdw zoon) UM 2 -2-1 1 432 -2+ + 1 2 3 4 5
-
The Cholesterol Level data sets give cholesterol levels of heart attack patients. Cholesterol measures are taken 2, 4, and 14 days aft er a patient has suffered a heart attack. Is there a significant...
-
Jenny earns $34,500 in 2012. Calculate the FICA tax that must be paid by: Jenny: ..............................Soc,Sec. ..................$______________...
-
Frank Willingham has the following transactions during the year: Sale of office equipment on March 15 that cost $20,000 when purchased on July 1, 2010. Frank has claimed $5,000 in depreciation and...
-
Skyler is covered by his company's health insurance plan. The health insurance costs his company $3,500 a year. During the year, Skyler is diagnosed with a serious illness and the health insurance...
-
A study of past computer frauds indicates that some of the most common means of manipulating transactions are to: 1. Add unauthorized transactions such as phony purchase orders. 2. Alter transactions...
-
You are auditing petty cash and discover that a friend of yours, who is in charge of the petty cash funds, has forged some petty cash vouchers amounting to $100 over the last five months. He...
-
Due to particularly poor operating performance, managers have increased incentives to present financial statements in a more favorable light than is appropriate. As an internal auditor, you believe...
Study smarter with the SolutionInn App