Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Business Management Expert

The ABC company offers its salesperson commission, based on two factors: the amount in sales, and the type of product they sell. There are two types of products, A and B. The salesperson receives 7% commission on product A if the sales is below $40,000.00, and 10% if the sales is $40,000.00 or more. A salesperson receives 5% commission on product B, if the sales is under$20,000.00 and 6.5% if the sales is $20,000.00 or more.

Create a class called Commission. The constructor of the class that accepts three parameters:

The salesperson's id

A single character representing the type of product, and

The sales amount.

Write:

A accessor method to validate the sales amount. That is, a negative amount cannot be compansated for.

A mutator method that calculates the commission amount. In writing this method use the switch statement to determine the type of product.

Business Management, Management Studies

  • Category:- Business Management
  • Reference No.:- M92523695
  • Price:- $10

Priced at Now at $10, Verified Solution

Have any Question?


Related Questions in Business Management

How do you take notes with the required speed and accuracy

How do you take notes with the required speed and accuracy which reflects a true and accurate account of the meeting?

Please explain exploration and exploitation and how each

Please explain exploration and exploitation? and how each are used and the benefit.

Write a program that populates an array named weekday from

Write a program that populates an array named weekday from the string SunMonTueWedThuFriSat, and then prints each day in uppercase. PERL Language

What are some common power point mistakes how can they be

What are some common power point mistakes? How can they be avoided? A few of the mistakes and how to avoid them presented by Don MacMillan (2008) are: Text Crowded Slides- Go to the point Spelling Mistakes- Re-check your ...

Define budgeting and describe its primary purposes and

Define budgeting and describe its primary purposes and benefits to an organization.

The balanced scoreboard approach has gained popularity in

The balanced scoreboard approach has gained popularity in recent years. What is this approach and how does it integrate strategic and operational control?

Mr barney the ceo has received your memo request to be

Mr. Barney, the CEO, has received your memo request to be considered for further leadership positions. He has decided to put you to the test! He assigns you to help his Director of Payroll, Loretta Cash with a problem. Y ...

A client refuse to pay full payment of human resource

A client refuse to pay full payment of human resource agency and there is no evidence except for verbal agreement. So, what is the two solutions to solve this problem without involving Lawsuit/Court?

Topic leonard joel auction houseword limitnbsp3000minimum

Topic: 'Leonard Joel' Auction House Word limit: 3000 Minimum of 15 references. The research report should include: a title Mindmap Identification of issue/s literature review Solution SWOT analysis of solution (Strengths ...

Ethics and the information security professionnbspwhat are

ETHICS AND THE INFORMATION SECURITY PROFESSION  What are the ethical dilemmas and challenges faced by information security professionals? Are professional organizations' ethical codes of conduct beneficial as an informat ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As