This needs to be done in Java! (Sales Commission Calculator) A large company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9% of their gross sales for that week. For example, a salesperson who sells $5,000 worth of merchandise in a week receives $200 plus 9% of $5,000, or a total of $650. You’ve been supplied with a list of the items sold by each salesperson. The values of these items are shown below. Develop a Java application that inputs one salesperson’s items sold for last week and calculates and displays that salesperson’s earnings. There’s no limit to the number of items that can be sold. Item Value 1 239.99 2 129.75 3 99.95 4 350.89 Example Output: Enter number sold of product #1: 10 Enter number sold of product #2: 20 Enter number sold of product #3: 30 Enter number sold of product #4: 40 Earnings this week: $2182.61 NOTES: Do not create a separate class for this program. Create the entire program in the main method of the program
This needs to be done in Java!
(Sales Commission Calculator) A large company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9% of their gross sales for that week. For example, a salesperson who sells $5,000 worth of merchandise in a week receives $200 plus 9% of $5,000, or a total of $650. You’ve been supplied with a list of the items sold by each salesperson. The values of these items are shown below. Develop a Java application that inputs one salesperson’s items sold for last week and calculates and displays that salesperson’s earnings. There’s no limit to the number of items that can be sold.
Item Value
1 239.99
2 129.75
3 99.95
4 350.89
Example Output:
Enter number sold of product #1: 10
Enter number sold of product #2: 20
Enter number sold of product #3: 30
Enter number sold of product #4: 40
Earnings this week: $2182.61
NOTES:
Do not create a separate class for this
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 4 images