Read first: ABC Enterprises is a newly established car dealership in town. The company has several...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Read first: ABC Enterprises is a newly established car dealership in town. The company has several sales representatives whose weekly compensations are commission-based. That is, sale representative's weekly salary is on commission from sales. To calculate the sales representative's commission, ABC Enterprises uses the following: 1. 1% on the first $50,000 of the total sales 2. .75% on the next $100, 000 of the total sales 3. .5% on balance left after deducting $150,000 from total sales For example, if a Sales Representative A sold $145, 000, the commission will be calculated as follows: First $50,000: 0.01*50000 = $500 Next $95,000: 0.0075*95000 = $712.5 Total commission-based gross pay is $1,212.5. Each sales representative sells at least 2 cars per week. There are four different car models and prices: 1. Model A-$15,000; 2. Model B-$20,000; 3. Model C-$18,000; 4. Model D-$25,000. To calculate total sales, you must specify the models for the five cars. For examples, if 2 of the 5 cars are of Model A and 2 are of Model C and 1 of Model D, the total sales will be 2*15000+ 2*18000+1*25000 = $91,000 I. II. III. IV. Use cars models to determine the sale price and accumulate the sales prices. Note that minimum number of cars sold is 2 Prompt the user to enter the number of cars sold. For each car, prompt the user to enter each car model, call the function get_car_price to determine the price for the model, add to the total sales. Return the value total of totals. Hint: See call to calculate_total_sales below: >>>total_sales = calculate_total_sales() >>>Enter the model of car 1: A >>>Enter the model of car 2: A >>>Enter the model for car 3: C >>>Enter the model for car 4: C >>>Enter the model of car 5: D >>>print(total_sales) 91000 calculate_commission will accept as an argument the total sales, uses the formula above to compute and return the gross pay. if total sales is less than or equal to 50000, return 1% of total sales if total sales is less than or equal to 150000, return 1% of 10000+.75% of (total sales- 50000) if total sales is greater than 150000, return 1% of 50000+.75% of 100000+.5% of (totals sales-150000) compute and return the gross pay. if total sales is less than or equal to 50000, return 1% of total sales if total sales is less than or equal to 150000, return 1% of 10000+.75% of (total sales- 50000) if total sales is greater than 150000, return 1% of 50000+.75% of 100000+.5% of (totals sales-150000) 5. main that will simulate the program. This function will perform the following operations: 1. call calculate_total_sales to obtain total sales 2. call calculate_commission to obtain gross pay 3. Display the total sales and commission using 2 decimal places to format the output. Read first: ABC Enterprises is a newly established car dealership in town. The company has several sales representatives whose weekly compensations are commission-based. That is, sale representative's weekly salary is on commission from sales. To calculate the sales representative's commission, ABC Enterprises uses the following: 1. 1% on the first $50,000 of the total sales 2. .75% on the next $100, 000 of the total sales 3. .5% on balance left after deducting $150,000 from total sales For example, if a Sales Representative A sold $145, 000, the commission will be calculated as follows: First $50,000: 0.01*50000 = $500 Next $95,000: 0.0075*95000 = $712.5 Total commission-based gross pay is $1,212.5. Each sales representative sells at least 2 cars per week. There are four different car models and prices: 1. Model A-$15,000; 2. Model B-$20,000; 3. Model C-$18,000; 4. Model D-$25,000. To calculate total sales, you must specify the models for the five cars. For examples, if 2 of the 5 cars are of Model A and 2 are of Model C and 1 of Model D, the total sales will be 2*15000+ 2*18000+1*25000 = $91,000 I. II. III. IV. Use cars models to determine the sale price and accumulate the sales prices. Note that minimum number of cars sold is 2 Prompt the user to enter the number of cars sold. For each car, prompt the user to enter each car model, call the function get_car_price to determine the price for the model, add to the total sales. Return the value total of totals. Hint: See call to calculate_total_sales below: >>>total_sales = calculate_total_sales() >>>Enter the model of car 1: A >>>Enter the model of car 2: A >>>Enter the model for car 3: C >>>Enter the model for car 4: C >>>Enter the model of car 5: D >>>print(total_sales) 91000 calculate_commission will accept as an argument the total sales, uses the formula above to compute and return the gross pay. if total sales is less than or equal to 50000, return 1% of total sales if total sales is less than or equal to 150000, return 1% of 10000+.75% of (total sales- 50000) if total sales is greater than 150000, return 1% of 50000+.75% of 100000+.5% of (totals sales-150000) compute and return the gross pay. if total sales is less than or equal to 50000, return 1% of total sales if total sales is less than or equal to 150000, return 1% of 10000+.75% of (total sales- 50000) if total sales is greater than 150000, return 1% of 50000+.75% of 100000+.5% of (totals sales-150000) 5. main that will simulate the program. This function will perform the following operations: 1. call calculate_total_sales to obtain total sales 2. call calculate_commission to obtain gross pay 3. Display the total sales and commission using 2 decimal places to format the output.
Expert Answer:
Answer rating: 100% (QA)
Function to get car price based on model def getcarpricemodel Function to determine t... View the full answer
Related Book For
Posted Date:
Students also viewed these accounting questions
-
Explain the meaning of the terms emoluments, employments and office for the purposes of PAYE as you earn systems. 2. Explain the actual receipts basis of assessing the emoluments from the employment...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
The mass of the crane?s boom is 9000 kg. Its weight acts at?G. The sum of the moments about?P?due to the boom?s weight, the force exerted at?B?by the cable?AB,?and the force exerted at?C?by the...
-
The actual contribution margin per unit will impact the following sales variance: a. Flexible-budget variance b. Market-size variance c. Market-share variance. d. Sales-quantity variance
-
A photovoltaic system is used to capture solar energy to be converted to electrical energy. A control system is used to pivot the solar platform to track the suns movements in order to maximize the...
-
A system consists of 5 identical components connected in parallel. Determine the reliability of each component if the overall reliability of the system is to be 0.96 ?
-
In 2010, Hadicke Company had a break-even point of $350,000 based on a selling price of $7 per unit and fixed costs of $105,000. In 2011, the selling price and the variable cost per unit did not...
-
Dry density (g/cm) 1.86 1.84 1.82 1.8 1.78 1.76 1.74 1.72 5 7 9 11 13 15 17 19 21 Water content (%) A series of standard Proctor compaction tests were performed on soil and the obtained results are...
-
Consider the calculation of roots of an equation z N = where N 1 is an integer and = ||e j a nonzero complex numb (a) First verify that there are exactly N roots for this equation and that they...
-
Protection. b. Complete the table below about organisational characteristics relevant to health, safety and security systems. 70 i. ii. Identify at least two characteristics that health, safety and...
-
What are some strategies to ensure that the target audience and message you create to promote a new Spanish talk show are informed by an accurate understanding of diverse audience cultures.
-
Use the below information to answer the questions below: Issuer Microsoft Short Microsoft Long Price Coupon % 10.00 10.00 Maturity 1 year from today 15 years from today Yield to Maturity % Interest...
-
How can you tell someone has been coached on using non-verbal communication?
-
At what frequency or frequencies does the electron of a two - level atom oscillate if excited with detuned light? 1 1 . A what frequency does the electron cloud oscillate if , first, a two - level...
-
Suppose that you are an analyst and want to estimate the value of firm XYZ Inc using a 2-stage DCF. For the high growth period (which you assume to be 5 years) your estimates of after-tax operating...
-
Explain below mention points about what role in company 1) Plant security (2) Machine setups (3) Engineering changes (4) Product design (5) Rent for factory plant (6) Parts administration (7)...
-
Write a paper detailing a geographic information system (GIS) of your own design that would utilize data in an original manner.
-
What factors in the workplace are likely to cause the kind of dissatisfaction that would lead to unionization?
-
Distinguish between industrial relations and human resource management.
-
Outline the stages of union-management negotiations.
-
What are the main types of investors that fund entrepreneurial ventures?
-
What steps are needed to show that entrepreneurial finance is beneficial to the economy at large?
-
What are the main challenges that entrepreneurs and investors face at the four steps of the funding cycle, as described in the FIRE framework?
Study smarter with the SolutionInn App