Question 15 8 Pts Abc Company Offers Salesperson Commission Based Two Factors Amount Sales Q30155251

| Question 15 8 pts The ABC Company offers its salesperson commission, based on two factors: the amount in sales, and the type of products. A and B. The salesperson receives 7% commission on product A if the sales is below S40 000 00, and 10 e 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 S2O,000.00 or more. Write a class called Commission The constructor of the class that accepts three parameters they sell. There are two types of 13 marks) . A single character representing the type of product, and The sales amount [1 marks) A mutator method that calculates the commission amount. In writing this mothod use tho swich statement to determine the type of product ? 14 marks] YOU ARE RESPONSIBLE TO SPECIFY ANY REQUIRED VARIABLE(S DO NOT WRITE A TEST CLASS ? Paragraph . ?media%2Fabb%2Fabb3f85d-6bb2-47dd-89cd-dc| Question 15 8 pts The ABC Company offers its salesperson commission, based on two factors: the amount in sales, and the type of products. A and B. The salesperson receives 7% commission on product A if the sales is below S40 000 00, and 10 e 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 S2O,000.00 or more. Write a class called Commission The constructor of the class that accepts three parameters they sell. There are two types of 13 marks) . A single character representing the type of product, and The sales amount [1 marks) A mutator method that calculates the commission amount. In writing this mothod use tho swich statement to determine the type of product ? 14 marks] YOU ARE RESPONSIBLE TO SPECIFY ANY REQUIRED VARIABLE(S DO NOT WRITE A TEST CLASS ? Paragraph . ? Show transcribed image text | Question 15 8 pts The ABC Company offers its salesperson commission, based on two factors: the amount in sales, and the type of products. A and B. The salesperson receives 7% commission on product A if the sales is below S40 000 00, and 10 e 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 S2O,000.00 or more. Write a class called Commission The constructor of the class that accepts three parameters they sell. There are two types of 13 marks) . A single character representing the type of product, and The sales amount [1 marks) A mutator method that calculates the commission amount. In writing this mothod use tho swich statement to determine the type of product ? 14 marks] YOU ARE RESPONSIBLE TO SPECIFY ANY REQUIRED VARIABLE(S DO NOT WRITE A TEST CLASS ? Paragraph . ?

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *