Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a sales commission calculation program for a manufacturing company. The company has three big products that they sell and they have independent sales representatives.
Create a sales commission calculation program for a manufacturing company. The company has three big products that they sell and they have independent sales representatives. Each product has its own tiered commission structure. This is the table for the commissions: How to calculate the amount:
To calculate the amount take the desired percentage and multiply it by and then multiply the result of
that by by the amount of sales. To calculate the amounts used in the example:
SEE THE ATTACHED TABLE
The program should ask which product was sold and then the amount of the sale. It should then print out the resulting calculation. It should be formatted professionally. You should use upper or lower to ignore case sensitivity and if the user selects an invalid choice, it should be caught in an else branch. Below is sample output for the program:
Welcome to the Sale Commission Calculation Program
What product was sold? A B or C C
What was the sales amount?
The percentage for the sale was and the amount of the commission was $
How to calculate the amount:
To calculate the amount take the desired percentage and multiply it by and then multiply the result of that by by the amount of sales. To calculate the amounts used in the example:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started